Last active
December 30, 2016 08:33
-
-
Save miquelbeltran/e03d4c35d6256e99fb5c6790f6759a47 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 https://fcm.googleapis.com/fcm/send -X POST \ | |
| --header "Authorization: key=long auth key" \ | |
| --Header "Content-Type: application/json" \ | |
| -d ' | |
| { | |
| "to": "the device token" | |
| "notification":{ | |
| "title":"New Notification!", | |
| "body":"Test" | |
| }, | |
| "priority":10 | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment