Skip to content

Instantly share code, notes, and snippets.

@jasoares
Created February 8, 2012 00:42
Show Gist options
  • Save jasoares/1763593 to your computer and use it in GitHub Desktop.
Save jasoares/1763593 to your computer and use it in GitHub Desktop.
Curl HTTP PUT REST JSON - Update record
curl -i -H "Accept: application/json" -H "Content-type: application/json" -X PUT -d '{"score":{"comment":"Changed"}}' http://localhost:3000/scores/908005739.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment