tree: 79f4aace594147f2799f4f506b80d87938ef7913 [path history] [tgz]
  1. BUILD.gn
  2. encoding.cc
  3. encoding.h
  4. encoding_unittest.cc
  5. event_stream.cc
  6. event_stream.h
  7. event_stream_unittest.cc
  8. firebase.h
  9. firebase_impl.cc
  10. firebase_impl.h
  11. firebase_impl_unittest.cc
  12. README.md
  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"