Created
September 5, 2014 08:37
-
-
Save kafaichoi/823266d43a04a902b468 to your computer and use it in GitHub Desktop.
Curl for nested json request
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 -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