mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 23:00:51 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# http
|
||||
|
||||
> HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs & HTTP servers.
|
||||
> HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers.
|
||||
> More information: <https://httpie.io/docs/cli/usage>.
|
||||
|
||||
- Make a simple GET request (shows response header and content):
|
||||
- Make a simple GET request (shows response headers and content):
|
||||
|
||||
`http {{https://example.org}}`
|
||||
`http {{https://example.com}}`
|
||||
|
||||
- Print specific output content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
|
||||
- Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
|
||||
|
||||
`http --print {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user