Skip to content

Instantly share code, notes, and snippets.

@edlin
Created July 26, 2012 18:45
Show Gist options
  • Save edlin/3183739 to your computer and use it in GitHub Desktop.
Save edlin/3183739 to your computer and use it in GitHub Desktop.
Unix commands
# passing a json in a curl request
curl -k -H "Content-Type: application/json" -X POST -d '{"data":{"cow": 5}}' https://localhost:8000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment