1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/curlie.md

21 lines
532 B
Markdown
Raw Normal View History

2022-10-01 13:27:52 +05:30
# curlie
> A frontend to `curl` that adds the ease of use of `httpie`.
2022-10-01 13:27:52 +05:30
> 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}}`