Created
January 22, 2014 01:56
-
-
Save adamvduke/8552222 to your computer and use it in GitHub Desktop.
example of using curl to send a safari push notification with url_args
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 -d 'auth_token=....' \ | |
-d 'device_tokens[]=...' \ | |
-d 'title=Test' \ | |
-d 'body=Hello' \ | |
-d 'label=View' \ | |
-d 'url_args[]=message_id' \ | |
-d 'url_args[]=12345' \ | |
https://api.zeropush.com/notify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment