or download this
$ curl -i -X POST -H "Content-Type:application/json" -u user:password
+http://localhost:8000/snippets/ -d '{
> "title": "Test Title",
...
Allow: GET, POST, HEAD, OPTIONS
{"url":"http://localhost:8000/snippets/2/","id":2,"highlight":"http://
+localhost:8000/snippets/20/highlight/","owner":"user","title":"Test T
+itle","code":"print \"Test POST Request\"","linenos":false,"language"
+:"perl","style":"emacs"}