Sending Push via Postman using Firebase Messaging

后端 未结 11 1231
-上瘾入骨i
-上瘾入骨i 2020-12-02 20:25

I\'m trying to use Postman to send a single Push Notification using Firebase Cloud Messaging service.

This is a working cURL command for th

11条回答
  •  不思量自难忘°
    2020-12-02 20:57

    Steps to send FCM throw Postman:

    1. URL to send: https://fcm.googleapis.com/v1/projects/projectid-34543/messages:send
    2. Request Type: POST
    3. Headers: Content-Type -> application/json & Authorization -> Bearer
    4. In the body section enter APS payload with the right device token.
    5. Click send.

    More information here: https://stackoverflow.com/a/62670409/1151916

提交回复
热议问题