Skip to content

Instantly share code, notes, and snippets.

@jazztpt
Forked from natea/gist:1013270
Created June 7, 2011 22:20
Show Gist options
  • Save jazztpt/1013316 to your computer and use it in GitHub Desktop.
Save jazztpt/1013316 to your computer and use it in GitHub Desktop.
Valentunes POST with curl
$ curl -X POST -H 'Content-Type: application/json' -u nate:nate
--data '{"recipient_name" : "Anna",
"track_set" : "",
"interests" : "hamburgers, skating"}'
http://localhost:8000/api/card/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment