mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 04:54:33 +00:00
Update cheatsheets
This commit is contained in:
25
linux/curlie
Normal file
25
linux/curlie
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# curlie
|
||||
|
||||
> 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}}`
|
||||
Reference in New Issue
Block a user