I managed to use the REST APIs for Firebase Realtime database to write some data to my database but I'm doing with this with no authentication turned on.
curl -X PUT -d '{ "test": "blah" }' 'https://<project>.firebaseio.com/stuff.json'
I'm trying to change my auth rule to be
".write": "auth != null"
but I can't figure out how to generate an auth token to use in:
https://<project>.firebaseio.com/stuff.json?auth=<some token>
I'm doing this from a server, so I don't want to use a user's token.