firebase - FCM with Postman - The request was missing an Authentication Key (FCM Token) -
//body this
{ "to": "/topics/news" , "data":{ "extra_information": "this information" },
//notification need give
"notification":{ "title": "chitchat group", "text": "you may have new messages", "click_action":"chatactivity" } }
the 401 error pertains authorization key invalid or incorrect.
when using postman, add key=
prefix value of authorization, so:
key=aaa...
see stack overflow documentation did sending downstream fcm messages using postman.
also, notification
message payload, text
isn't 1 of valid parameters, think looking message
instead.
Comments
Post a Comment