Skip to content

Instantly share code, notes, and snippets.

@kkestell
Created November 10, 2011 14:41
Show Gist options
  • Save kkestell/1354998 to your computer and use it in GitHub Desktop.
Save kkestell/1354998 to your computer and use it in GitHub Desktop.
Rails REST Testing with cURL
curl -v -H "Accept: application/json" -H "Content-Type: application/json" -X PUT -d '{"user":{"name":"John Doe", "age":30}}' http://localhost:3000/users/1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment