Skip to content

Instantly share code, notes, and snippets.

@knicklabs
Created September 9, 2012 01:33
Show Gist options
  • Save knicklabs/3681933 to your computer and use it in GitHub Desktop.
Save knicklabs/3681933 to your computer and use it in GitHub Desktop.
Example POST of JSON data to an API
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