mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:42:08 +02:00
Update curl.md
Only including the HEAD change
This commit is contained in:
parent
1770008a2e
commit
a5c853137a
1 changed files with 1 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue