Created
September 5, 2019 17:43
-
-
Save rkennesson/a0d4b97cd3cecd9be5d95dc590886514 to your computer and use it in GitHub Desktop.
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
Make a POST Request (TLDR: Use -X POST argument) | |
Add POST Data to a Request (TLDR: Use -d var=val argument) | |
Construct a Query String (TLDR: Use -G argument) | |
Add HTTP Headers (TLDR: Use -H 'Header: Value' argument) | |
Change the User Agent (TLDR: Use -A 'User Agent' argument) | |
Set Cookies (TLDR: Use -b name=value argument) | |
Add a Referrer (TLDR: Use -e URL argument) | |
Follow a 3XX Redirect (TLDR: Use -L argument) | |
Use the Basic HTTP Authentication (TLDR: Use -u user:pass argument) | |
Print the Response Headers (TLDR: Use -i argument) | |
Use a Proxy (TLDR: Use -x protocol://host:port argument) | |
Ignore the SSL Certificate (TLDR: Use -k argument) | |
Make Curl Silent (TLDR: Use -s argument) | |
Save the Response to a File (TLDR: Use -o file argument) | |
Make Curl Slow (TLDR: Use --limit-rate 8k (8KB/sec) argument) | |
Debug Curl Requests (TLDR: Use -v or --trace arguments) | |
Make a GET Request (TLDR: No arguments required, it's the default) | |
https://catonmat.net/cookbooks/curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment