tree: eff3a0b016d976329f3be940adc239e451653232 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. encoding.cc
  4. encoding.h
  5. encoding_unittest.cc
  6. event_stream.cc
  7. event_stream.h
  8. event_stream_unittest.cc
  9. firebase.h
  10. firebase_impl.cc
  11. firebase_impl.h
  12. firebase_impl_unittest.cc
  13. status.cc
  14. status.h
  15. watch_client.h
peridot/lib/firebase/README.md

firebase

Client library for the REST API of the Firebase Realtime Database.

curl

In order to manually debug potential sync issues, we can use curl to interact with the database from the command line.

Reading data:

curl <host>/<path>.json -X GET

Writing data:

curl <host>/<path>.json -X PUT -d <data>

Opening a notification stream:

curl -L <host>/<path>.json -X GET -H "Accept: text/event-stream"