Merge branch 'curl-header' of git://github.com/jamescarlos/tldr into jamescarlos-curl-header

waldyrious/alt-syntax
Igor Shubovych 2016-01-12 21:33:40 +02:00
commit 4b9e574df8
1 changed files with 4 additions and 0 deletions

View File

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