Last active
February 1, 2019 11:27
-
-
Save vgk77/9c6cedb9d8a0a759fa66e465f088d323 to your computer and use it in GitHub Desktop.
#curl queries
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 "uri?key1=value1&key2=value2" | |
| #POST | |
| curl -d "key1=value1&key2=value2" "uri" | |
| #DELETE | |
| curl -X DELETE "uri" | |
| #POST request.json with headers | |
| curl -d “@request.json” -H “Content-Type: application/json” -H “Authentication: XXX” "uri" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment