Browse Source

Add user password -u option to Curl

Florent Guilleux 11 years ago
parent
commit
01965fd3cf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/curl.md

+ 4 - 0
pages/common/curl.md

@@ -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}}`