|
Parse Server is just a few days ago Facebook open source server software compatible Parse.com API. Currently the project announced support for iOS and Android push messaging. It can be achieved by PushAdapter.
Use:
curl -X POST
-H "X-Parse-Application-Id: YOUR_APP_ID"
-H "X-Parse-Master-Key: YOUR_MASTER_KEY"
-H "Content-Type: application / json"
-d '{
"Where": {
"DeviceType": {
"$ In": [
"Ios"
]
},
"Fan": "Giants"
},
"Data": {
"Title": "A special discount for Giants fans",
"Alert": "Check out our app for a 15% discount!"
}
} ' Http://www.myawesomeparseserver.com/parse/push |
|
|
|