Skip to content

Instantly share code, notes, and snippets.

@kafaichoi
Created September 5, 2014 08:37
Show Gist options
  • Save kafaichoi/823266d43a04a902b468 to your computer and use it in GitHub Desktop.
Save kafaichoi/823266d43a04a902b468 to your computer and use it in GitHub Desktop.
Curl for nested json request
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"user":{"fullname":"Bob Chan","email":"[email protected]","password":"password"}}' http://localhost:3000/api/users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment