Code

Send Firebase push notifications using Postman

February 21, 2023
2 mins
By
Prabhanu
Share

Before starting my article, It would be better to mention that I am not going to discuss about how to implement and set up the Firebase push notifications here. I am going to discuss only push notification testing using Postman.

First, follow the below steps to set up Postman to send Firebase notifications.

  1. Enter https://fcm.googleapis.com/fcm/send URL and select POST method.
  2. Add Authorization and Content-Type headers.
  3. Authorization — key = “server key”
  4. Content-Type — application/json
first step

(to find server key Go to your firebase console and select your Firebase Project, Click on Settings icon >Project Settings > Cloud Messaging > Server Key )

second step
  1. Add the following as your Body
third step part 1
third step part 2
third step part 3
  1. Press Send button

After following these steps, you can send push notifications and find out whether the Firebase push notifications are working for you or not.

More