Skip to content

Instantly share code, notes, and snippets.

@sschuchlenz
Created April 17, 2015 06:35
Show Gist options
  • Save sschuchlenz/89d608263af51225e253 to your computer and use it in GitHub Desktop.
Save sschuchlenz/89d608263af51225e253 to your computer and use it in GitHub Desktop.
Restivus PUT request
curl -X PUT -H "X-User-Id: 5CEX6mooXvxDTihoX" -H "X-Auth-Token: gBJBYKeYv_NasePBdOQnyCWfGosIQdXh8cVZHOI6KH2" -H "Cache-Control: no-cache" -H "Postman-Token: 5b05810a-4756-4e74-8178-872553841fe6" -H "Content-Type: application/x-www-form-urlencoded" -d 'name=Changed+from+API&description=This+entry+changed&comments=2&score=25&available_from=2015-04-01T08%3A00%3A00&available_to=2017-12-31T08%3A00%3A00&partner_id=TEST123456' http://local.com:3000/api/entries/nPcpMisJDyAKk8nAE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment