Reputation: 19
is it possible to import a json file remotely to Firebase?
I'm currently running a java program, which generates the file I want to insert into my database, and then I have to manually enter it in the firebase.
Is there any way to do this automatically?
Thanks
Upvotes: 1
Views: 650
Reputation: 21
For those who might still need that..
curl -X PUT -H "Content-Type: application/json" -d @FILE.json FIREBASE_ADDRESS
Upvotes: 0
Reputation: 474
There are a few ways to do this by using CURL (Writing data with PUT). You can also update the data with your JSON you got already exported earlier. In case you got all data under one node it will be much faster.
Upvotes: 1