Created
September 9, 2012 01:33
-
-
Save knicklabs/3681933 to your computer and use it in GitHub Desktop.
Example POST of JSON data to an API
This file contains hidden or 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 "Content-Type: application/json" -X POST -d '{"title":"Hello World"}' http://localhost:3000/notes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment