-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> A user friendly command-line HTTP tool.
Send a GET request (default method with no request data):
http {https://example.com}
Send a POST request (default method with request data):
http {https://example.com} {hello=World}
Send a POST request with redirected input:
http {https://example.com} < {file.json}
Send a PUT request with a given JSON body:
http PUT {https://example.com/todos/7} {hello=world}
Send a DELETE request with a given request header:
http DELETE {https://example.com/todos/7} {API-Key:foo}
Show the whole HTTP exchange (both request and response):
http -v {https://example.com}
Download a file:
http --download {https://example.com}
Follow redirects and show intermediary requests and responses:
http --follow --all {https://example.com}
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Fri May 17 01:00:02 2024