diff --git a/pages/common/curl.md b/pages/common/curl.md index b7cbd8504..be2ee01e4 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -23,6 +23,10 @@ `curl --head {{http://localhost}}` +- include an extra header + +`curl --header "{{X-MyHeader: 123}}" {{http://localhost}}` + - pass a user name and password for server authentication `curl -u myusername:mypassword {{http://localhost}}`