-
-
Save idkjs/d5af5a9a1c885087a351fe6de9b75c17 to your computer and use it in GitHub Desktop.
POST request Via CURL in MAC OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment