Created
October 17, 2020 18:25
-
-
Save Tetraquark/91a08bcdda04f21a1732a9fc3e07e9e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'https://fcm.googleapis.com/fcm/send' \ | |
--header 'Authorization: key=API_ACCESS_KEY' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"to": "CLIENT_PUSH_TOKEN", | |
"notification": { | |
"body": "Push text message", | |
"title": "Push title" | |
}, | |
"data": { | |
"some_important_id": "1234" | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment