REST API Quickstart Guide
First, you'll need to sign up to get your own Firebase.
You can use any Firebase URL as a REST endpoint. All you need to do is append ".json" to the end of the URL and send a request from your favorite HTTPS client. Please note the requirement to use HTTPS instead of HTTP. Firebase makes security a priority and only accepts encrypted connections.
Here we read some data from the root of our Firebase:
Next, we write data at /fred:
curl -X PUT -d "\"Hello World\"" https://SampleChat.firebaseio-demo.com/fred.json
Finally we read the data back again, with pretty-print enabled.
That's it! To learn more, read the full REST API Reference.