Skip to content

Instantly share code, notes, and snippets.

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 SebastianOsinski/6a194aaa44795f0b71f752ac0ee6e1d9 to your computer and use it in GitHub Desktop.
Save SebastianOsinski/6a194aaa44795f0b71f752ac0ee6e1d9 to your computer and use it in GitHub Desktop.
curl -v \
-d '{"aps": {"content-available": 1}, "del-id": "1234"}' \
-H "apns-topic: <YOUR APP BUNDLE ID>" \
--http2 \
--cert <PATH TO YOUR CERTIFICATE IN PEM FORMAT> \https://api.development.push.apple.com/3/device/<DEVICE TOKEN>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment