Add user password -u option to Curl
This commit is contained in:
parent
4e3605be90
commit
01965fd3cf
|
|
@ -22,3 +22,7 @@
|
|||
- head request
|
||||
|
||||
`curl --head {{http://localhost}}`
|
||||
|
||||
- pass a user name and password for server authentication
|
||||
|
||||
`curl -u myusername:mypassword {{http://localhost}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue