Skip to content

Instantly share code, notes, and snippets.

@pbnkp
Forked from creativepsyco/post-curl
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save pbnkp/53acfc89b355bff4021d to your computer and use it in GitHub Desktop.

Select an option

Save pbnkp/53acfc89b355bff4021d to your computer and use it in GitHub Desktop.

Revisions

  1. @creativepsyco creativepsyco created this gist Mar 5, 2012.
    1 change: 1 addition & 0 deletions post-curl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"userid": "mohit", "password":"password"}' http://mmedwebdemo.ddns.comp.nus.edu.sg:8080/comp.nuhs.jaxb/api/usr/login