Cheatsheet: Difference between revisions
Content added Content deleted
(→Misc) |
(→Misc) |
||
Line 1,124: | Line 1,124: | ||
*CURL |
*CURL |
||
curl -I http://domain.com Get HTTP header information |
curl -I http://domain.com Get HTTP header information |
||
curl -i http://domain.com Get HTTP header + Body information |
|||
curl -L http://domain.com Handle URL redirects |
curl -L http://domain.com Handle URL redirects |
||
curl -v http://domain.com Debug level details |
curl -v http://domain.com Debug level details |
||
Line 1,138: | Line 1,139: | ||
curl -v -X OPTIONS https://site3.lab.com |
curl -v -X OPTIONS https://site3.lab.com |
||
curl -v -X TRACE https://site3.lab.com |
curl -v -X TRACE https://site3.lab.com |
||
curl --sslv2 https://yoururl.com |
|||
curl --tlsv1 https://yoururl.com |
|||
curl -H 'X-My-Custom-Header: 123' https://httpbin.org/get Using httpbin tool; shows header info |
|||
curl -e google.com yoururl.com Referrer |
|||
curl --data "name=bool&last=word" https://httpbin.org/post Post data |
|||
*wget |
|||
*mtr |
*mtr |