androidrestpush-notificationfirebase

Firebase : Send notification with REST API


Is it possible to send push notification with REST API on Firebase? I can send notifications with Firebase console but i need to send notifications with REST API.


Solution

  • this may help - https://firebase.google.com/docs/cloud-messaging/http-server-ref where sample message you can find here - https://firebase.google.com/docs/cloud-messaging/downstream

    from Firebase console you can get Server Key as an authorization you put in the http header, in the tab Cloud messaging.