Skip to content

Instantly share code, notes, and snippets.

@markgoodyear
Created July 19, 2017 14:13
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 markgoodyear/84b3ced2a0f510797ccbf87680e94b0a to your computer and use it in GitHub Desktop.
Save markgoodyear/84b3ced2a0f510797ccbf87680e94b0a to your computer and use it in GitHub Desktop.
cURL example for Expo
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