How to work with Realtime 'get' and 'update' api requests?

流过昼夜 提交于 2019-12-02 02:16:35

You can't use the "try it" helper to play with this feature, unfortunately. A realtime model is associated with a particular app. When you create a doc in the realtime playground, it is owned by the realtime playground app. When you try to then "get" the response in the "try-it" feature, it uses an app specific to "try-it" which can't see the realtime model you created.

If you do a "get" with the same app that created the realtime model, you should see that "data" is a json representation of the data model.

We'll work on getting this better documented.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!