Skip to content

Instantly share code, notes, and snippets.

@PeterHdd
Created May 4, 2021 15:07
Show Gist options
  • Save PeterHdd/512066e0126e83da67f70cac2eed7f11 to your computer and use it in GitHub Desktop.
Save PeterHdd/512066e0126e83da67f70cac2eed7f11 to your computer and use it in GitHub Desktop.
POST https://fcm.googleapis.com/fcm/send
Authoritzation key="your_server_key"
{
"to": "/topics/messaging",
"notification": {
"title": "FCM",
"body": "messaging tutorial"
},
"data": {
"msgId": "msg_12342"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment