-
-
Save markgoodyear/84b3ced2a0f510797ccbf87680e94b0a to your computer and use it in GitHub Desktop.
cURL example for Expo
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 \ | |
-X POST \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"to": "<TOKEN>", | |
"title": "Notification", | |
"body": "Remote notification body", | |
"data": { "value": "Hello remote world!" } | |
}' \ | |
https://exp.host/--/api/v2/push/send |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment