Skip to content

Instantly share code, notes, and snippets.

@tokenvolt
Last active December 21, 2015 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokenvolt/6336384 to your computer and use it in GitHub Desktop.
Save tokenvolt/6336384 to your computer and use it in GitHub Desktop.
Post a json request with data using curl.
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d jsondata http://localhost:3000/api/path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment