Created
January 14, 2012 20:40
-
-
Save emptyhammond/1612817 to your computer and use it in GitHub Desktop.
CURL Json PUT
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 -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