[Android][iOS] Push Notifications via REST API with Parse.com

Tadashi Shigeoka ·  Fri, May 17, 2013

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]

REST API | Parse

That’s all from the Gemba.