Created
July 28, 2018 20:07
-
-
Save SebastianOsinski/2e3afabaf8542d735547f5b3ff229d8f to your computer and use it in GitHub Desktop.
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 -v \ | |
-d '{"aps": {"alert": "This notification will be removed"}}' \ | |
-H "apns-topic: <YOUR APP BUNDLE ID>" \ | |
-H "apns-collapse-id: 1234" \ | |
--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