mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 21:15:32 +02:00
curlie: add page (#8551)
This commit is contained in:
parent
999854f9ae
commit
67b0bd02d6
1 changed files with 20 additions and 0 deletions
20
pages/linux/curlie.md
Normal file
20
pages/linux/curlie.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# curlie
|
||||
|
||||
> Curlie is a frontend to curl that adds the ease of use of httpie.
|
||||
> More information: <https://github.com/rs/curlie>.
|
||||
|
||||
- Send a GET request:
|
||||
|
||||
`curlie {{httpbin.org/get}}`
|
||||
|
||||
- Send a POST request:
|
||||
|
||||
`curlie post {{httpbin.org/post}} {{name=john}} {{age:=25}}`
|
||||
|
||||
- Send a GET request with query parameters (e.g. `first_param=5&second_param=true`):
|
||||
|
||||
`curlie get {{httpbin.org/get}} {{first_param==5}} {{second_param==true}}`
|
||||
|
||||
- Send a GET request with a custom header:
|
||||
|
||||
`curlie get {{httpbin.org/get}} {{header-name:header-value}}`
|
Loading…
Add table
Reference in a new issue