From 982fcfce4a8c272b34ec925a9eacd9eaf46a56c1 Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Tue, 19 Jan 2016 13:09:42 -0500 Subject: [PATCH 1/6] -H instead of --head for cURL, adding verbose output --- pages/common/curl.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/common/curl.md b/pages/common/curl.md index ec00cce15..067463dbc 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -21,12 +21,16 @@ - Head request: -`curl --head {{http://localhost}}` +`curl -H {{http://localhost}}` - Include an extra header: -`curl --header "{{X-MyHeader: 123}}" {{http://localhost}}` +`curl -H "{{X-MyHeader: 123}}" {{http://localhost}}` - Pass a user name and password for server authentication: `curl -u myusername:mypassword {{http://localhost}}` + +- Retrieve verbose output for a cURL request: + +`curl -v {{http://localhost}}` From a129e7c02e7804510df68d2a9f780bb2c1d42028 Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Tue, 19 Jan 2016 13:13:41 -0500 Subject: [PATCH 2/6] Update curl.md --- pages/common/curl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/curl.md b/pages/common/curl.md index 067463dbc..cc7c28c51 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -21,7 +21,7 @@ - Head request: -`curl -H {{http://localhost}}` +`curl -I {{http://localhost}}` - Include an extra header: From 96fcae692bed39b23315a26503780f49783549e4 Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Tue, 19 Jan 2016 13:14:49 -0500 Subject: [PATCH 3/6] Update curl.md --- pages/common/curl.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/common/curl.md b/pages/common/curl.md index cc7c28c51..58a962dd9 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -34,3 +34,6 @@ - Retrieve verbose output for a cURL request: `curl -v {{http://localhost}}` + +- Retrieve super verbose output for a cURL request: +`curl -vvv {{http://localhost}}` From e3f51a7aa571c6628ef8230f2cc4b397965dfdf8 Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Tue, 19 Jan 2016 13:16:54 -0500 Subject: [PATCH 4/6] Update curl.md Fixing Syntax to pass CI --- pages/common/curl.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/common/curl.md b/pages/common/curl.md index 58a962dd9..056bcdaca 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -36,4 +36,5 @@ `curl -v {{http://localhost}}` - Retrieve super verbose output for a cURL request: +- `curl -vvv {{http://localhost}}` From 1770008a2e44f2bc8347450e35a9cd04fcbd6dc3 Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Tue, 19 Jan 2016 13:17:03 -0500 Subject: [PATCH 5/6] Update curl.md --- pages/common/curl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/curl.md b/pages/common/curl.md index 056bcdaca..8d9495865 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -36,5 +36,5 @@ `curl -v {{http://localhost}}` - Retrieve super verbose output for a cURL request: -- + `curl -vvv {{http://localhost}}` From a5c853137ac8eff1144d1520cdc44936ffe5ca6c Mon Sep 17 00:00:00 2001 From: Bob Strecansky Date: Fri, 22 Jan 2016 18:33:32 -0500 Subject: [PATCH 6/6] Update curl.md Only including the HEAD change --- pages/common/curl.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pages/common/curl.md b/pages/common/curl.md index 8d9495865..45622ba6d 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -21,7 +21,7 @@ - Head request: -`curl -I {{http://localhost}}` +`curl --head {{http://localhost}}` - Include an extra header: @@ -30,11 +30,3 @@ - Pass a user name and password for server authentication: `curl -u myusername:mypassword {{http://localhost}}` - -- Retrieve verbose output for a cURL request: - -`curl -v {{http://localhost}}` - -- Retrieve super verbose output for a cURL request: - -`curl -vvv {{http://localhost}}`