浏览代码

Add user password -u option to Curl

Florent Guilleux 11 年之前
父节点
当前提交
01965fd3cf
共有 1 个文件被更改,包括 4 次插入0 次删除
  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}}`