Skip to content

Instantly share code, notes, and snippets.

@adamvduke
Created January 22, 2014 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamvduke/8552222 to your computer and use it in GitHub Desktop.
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
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