Firebase Web PUSH NOTIFICATIONS via Postman.

Nagarjun E
2 min readJan 5, 2021

Hey be cool, It's not that difficult to send push notifications via postman.

First, create the Project in firebase and do all the necessary steps and also add the config, in the Web application.

Now Just follow the steps.

Go to the postman.

step 1: add the Url: https://fcm.googleapis.com/fcm/send and select the Post Method.

step 2: click on the headers and add the following

Content-Type = application/json

Authorization key = your server key or default key. it will be available in the firebase.

Step 3: click on the body, select the raw, and add the Token which is generated by the Browser or the device.

{

“to”:” token generated by the browser”,

“notification”: {

“body”: “great match!”,

“title”: “India vs. Australia”,

“content_available”: true,

“priority”: “high”

},

“data”: {

“body”: “great match!”,

“title”: “India vs. Australia”,

“content_available”: true,

“priority”: “high”

}

}

Now click on send….Oh, it’s very simple right. Hey, I made your work simple. don't forget to share and clap.

--

--

Nagarjun E

Today I choose life. Every morning when I wake up I can choose joy, happiness, negativity, pain. To feel the freedom that comes from being able to continue to