Created
March 30, 2015 02:45
-
-
Save d30jeff/ee7ba0830284cb27fd28 to your computer and use it in GitHub Desktop.
python curl
This file contains hidden or 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
| GET: | |
| curl -X GET http://localhost/api/modules | |
| DELETE: | |
| curl -X DELETE http://localhost/api/single_module/{id} | |
| POST: | |
| curl -X POST -h "Content-Type:application/json" -d '{"key":"value","key2":"value"}' http://localhost/api/modules | |
| PUT: | |
| curl ._.? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment