mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 03:15:29 +02:00
curl: add -I option to the -u example (#1240)
This commit is contained in:
parent
5582e23e8a
commit
672878abd0
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@
|
|||
|
||||
`curl -d {{'{"name":"bob"}'}} -X {{PUT}} -H {{'Content-Type: application/json'}} {{http://example.com/users/1234}}`
|
||||
|
||||
- Pass a user name and password for server authentication:
|
||||
- Pass a user name and password for server authentication and show headers info only:
|
||||
|
||||
`curl -u myusername:mypassword {{http://example.com}}`
|
||||
`curl -u myusername:mypassword -I {{http://example.com}}`
|
||||
|
||||
- Pass client certificate and key for a secure resource:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue