Created
March 9, 2016 10:59
-
-
Save huguesbr/4fcbf94fc713a97aea62 to your computer and use it in GitHub Desktop.
Send a Push Notification using Parse Server
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 -X POST \ | |
-H "X-Parse-Application-Id: $PARSE_APP_ID" \ | |
-H "X-Parse-Master-Key: $PARSE_MASTER_KEY" \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"where": {}, | |
"data": { | |
"title": "Title", | |
"alert": "Message" | |
} | |
}'\ | |
http://yourserver.com/parse/push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment