Firestore RPC端点缺少必需的项目ID

时间:2019-01-21 20:43:12

标签: google-cloud-platform google-cloud-firestore grpc

我正在尝试使用Firestore的RPC端点获取GetDocument。

我正在做的是将网址设置为:

https://firestore.googleapis.com/$rpc/google.firestore.v1beta1.Firestore/GetDocument

然后我的标题是:

Content-Type => application/x-protobuf
X-Goog-Api-Key => Api Key from Credentials

作为回应,我得到Missing required project ID.

如果我删除X-Goog-Api-Key,我仍然会得到相同的答复。

我该如何解决?

0 个答案:

没有答案
相关问题