Skip to content

Instantly share code, notes, and snippets.

View DEVSOG12's full-sized avatar
🎯
Moving bytes around. SM

Oreofe Solarin DEVSOG12

🎯
Moving bytes around. SM
View GitHub Profile
https://android.jlelse.eu/firebase-push-notification-using-curl-command-devoid-backend-e63795d282c4
https://firebase.google.com/docs/cloud-messaging/http-server-ref
curl -X POST --header "Authorization: key=<SERVER KEY>" \
--Header "Content-Type: application/json" \
https://fcm.googleapis.com/fcm/send \
-d "{\"to\":\"<FCM TOKEN>\",\"notification\":{\"body\":\"ENTER YOUR MESSAGE HERE\"}}"