http
HTTPie: een HTTP-client ontworpen voor het testen, debuggen en in het algemeen interactie met API's en HTTP-servers. Meer informatie: https://httpie.io/docs/cli/usage.
http {{https://example.org}}
H
: request headers, B
: request body, h
: response headers, b
: response body, m
: response metadata):http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}
http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}
3xx
redirects en specificeer extra headers in een verzoek:http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}
http {{[-a|--auth]}} {{gebruikersnaam:wachtwoord|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}
http --offline {{GET|DELETE|...}} {{https://example.com}}
http --session {{session_naam|pad/naar/session.json}} {{[-a|--auth]}} {{gebruikersnaam}}:{{wachtwoord}} {{https://example.com/auth}} {{API-KEY:xxx}}
<input type="file" name="cv" />
is):http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@pad/naar/bestand}}