mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
xh: fix get with a custom header example
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
parent
0d3b7d7f7e
commit
f727e15ee7
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@
|
|||
|
||||
`xh get {{httpbin.org/get}} {{id==5}} {{sort==true}}`
|
||||
|
||||
- Send a GET request and include a header named x-api-key with value 12345:
|
||||
- Send a GET request with a custom header:
|
||||
|
||||
`xh get {{httpbin.org/get}} {{x-api-key:12345}}`
|
||||
`xh get {{httpbin.org/get}} {{header-name:header-value}}`
|
||||
|
||||
- Send a PUT request and pipe the result to less:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue