【发布时间】:2020-05-06 12:16:49
【问题描述】:
我正在使用 React 并尝试使用此 API https://firebase.google.com/docs/reference/remote-config/rest/v1/projects/getRemoteConfig 获取我的远程配置。
使用https://github.com/firebase/firebase-js-sdk 因为它不符合我的要求,因为远程配置存在错误,所以我尝试直接使用 API(来自上面的文档)
谁能告诉我我是如何调用这个 API 的?
根据我想调用的文档:
GET https://firebaseremoteconfig.googleapis.com/v1/{project=projects/*}/remoteConfig
什么是 {project=projects/*} ?
我还想如何传递我的 APIKey 或其他东西? (比如如何验证才能使用此 API?)
仅使用 HTTPS / HTTP 调用
谢谢~
【问题讨论】:
标签: javascript reactjs firebase firebase-remote-config