What is the `Authorization` part of the http post request of Google's Firebase Downstream message?

后端 未结 3 1089
既然无缘
既然无缘 2020-12-30 00:18

I want to try to send a message using google\'s FCM messaging service and as the document says, the http request should be something like this:



        
3条回答
  •  感情败类
    2020-12-30 01:01

    i have also faced this error. The issue is with the server key. Don't use the api key from google-services.json file.

    You should use the server api key from your firebase console project, at the cloud messaging tab project keys: https://console.firebase.google.com/project/firebase-probiz/settings/cloudmessaging

提交回复
热议问题