Does anyone successfully post data to firebase by fetch().
I want to collect accelerometer data from fitbit device and post the data to firebase. I sent data to companion app, but I don't know how to use fetch() to post it to firebase. I have already watch many videos and read many documents, but I don't get any solution. I need your help.
Thank you!
Best AnswerI haven't done it myself because I don't really have a use case yet for it, but have you tried making requests with fetch to the database using the REST API? https://firebase.google.com/docs/reference/rest/database
You could also use a function: https://firebase.google.com/docs/functions/http-events
Best Answer