-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

lwp-request


> Simple command-line HTTP client.

> Built with libwww-perl.

More information.


Make a simple GET request:

lwp-request -m GET {http://example.com/some/path}

Upload a file with a POST request:

lwp-request -m POST {http://example.com/some/path} < {path/to/file}

Make a request with a custom user agent:

lwp-request -H 'User-Agent: {user_agent} -m {METHOD} {http://example.com/some/path}

Make a request with HTTP authentication:

lwp-request -C {username}:{password} -m {METHOD} {http://example.com/some/path}

Make a request and print request headers:

lwp-request -U -m {METHOD} {http://example.com/some/path}

Make a request and print response headers and status chain:

lwp-request -E -m {METHOD} {http://example.com/some/path}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Fri May 17 17:35:35 2024