From 01965fd3cfea66c71c728696793a42d1204feaa2 Mon Sep 17 00:00:00 2001 From: Florent Guilleux Date: Tue, 11 Mar 2014 10:01:45 -0500 Subject: [PATCH] Add user password -u option to Curl --- pages/common/curl.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/curl.md b/pages/common/curl.md index c3505a074..5e55c515c 100644 --- a/pages/common/curl.md +++ b/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}}`