mirror of https://github.com/CrimsonTome/tldr.git
parent
1770008a2e
commit
a5c853137a
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- Head request:
|
- Head request:
|
||||||
|
|
||||||
`curl -I {{http://localhost}}`
|
`curl --head {{http://localhost}}`
|
||||||
|
|
||||||
- Include an extra header:
|
- Include an extra header:
|
||||||
|
|
||||||
|
@ -30,11 +30,3 @@
|
||||||
- Pass a user name and password for server authentication:
|
- Pass a user name and password for server authentication:
|
||||||
|
|
||||||
`curl -u myusername:mypassword {{http://localhost}}`
|
`curl -u myusername:mypassword {{http://localhost}}`
|
||||||
|
|
||||||
- Retrieve verbose output for a cURL request:
|
|
||||||
|
|
||||||
`curl -v {{http://localhost}}`
|
|
||||||
|
|
||||||
- Retrieve super verbose output for a cURL request:
|
|
||||||
|
|
||||||
`curl -vvv {{http://localhost}}`
|
|
||||||
|
|
Loading…
Reference in New Issue