Skip to content

Instantly share code, notes, and snippets.

@emptyhammond
Created January 14, 2012 20:40
Show Gist options
  • Save emptyhammond/1612817 to your computer and use it in GitHub Desktop.
Save emptyhammond/1612817 to your computer and use it in GitHub Desktop.
CURL Json PUT
curl -i -H "Accept: application/json" -H "X-HTTP-Method-Override: PUT" -X [GET|POST|PUT|DELETE] -d "key=value" http://{domain}/{controller}/{id}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment