Skip to content

Instantly share code, notes, and snippets.

@Starefossen
Last active June 22, 2022 12:37
Show Gist options
  • Save Starefossen/6699580 to your computer and use it in GitHub Desktop.
Save Starefossen/6699580 to your computer and use it in GitHub Desktop.
Command line HTTP POST with custom headers and JSON payload using CURL
curl -X POST \
-H "X-Parse-Application-Id: $APP_ID" \
-H "X-Parse-REST-API-Key: $KEY" \
-H "Content-Type: application/json" \
-d '{"score": 1337, "playerName": "Sean Plott", "cheatMode": false }' \
https://api.parse.com/1/classes/GameScore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment