Skip to content

Instantly share code, notes, and snippets.

@huguesbr
Created March 9, 2016 10:59
Show Gist options
  • Save huguesbr/4fcbf94fc713a97aea62 to your computer and use it in GitHub Desktop.
Save huguesbr/4fcbf94fc713a97aea62 to your computer and use it in GitHub Desktop.
Send a Push Notification using Parse Server
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