To send push notifications to Android or iOS apps via Parse.com REST API, it looks like this:
curl -X POST \\
-H "X-Parse-Application-Id: xxxxxx" \\
-H "X-Parse-REST-API-Key: xxxxxx" \\
-H "Content-Type: application/json" \\
-d '{
"where": {
"deviceType": "ios"
},
"data": {
"alert": "Hello World!"
}
}' \\
https://api.parse.com/1/push
[Reference]
That’s all from the Gemba.