Forrest logo
back to context overview

lwp-request

List of commands for lwp-request:

  • lwp-request:tldr:0b1c0 lwp-request: Make a request with a custom user agent.
    $ lwp-request -H 'User-Agent: ${user_agent} -m ${METHOD} ${http:--example-com-some-path}
    try on your machine
    explain this command
  • lwp-request:tldr:739fe lwp-request: Make a simple GET request.
    $ lwp-request -m GET ${http:--example-com-some-path}
    try on your machine
    explain this command
  • lwp-request:tldr:bb810 lwp-request: Upload a file with a POST request.
    $ lwp-request -m POST ${http:--example-com-some-path} < ${filename}
    try on your machine
    explain this command
  • lwp-request:tldr:d9c42 lwp-request: Make a request and print request headers.
    $ lwp-request -U -m ${METHOD} ${http:--example-com-some-path}
    try on your machine
    explain this command
  • lwp-request:tldr:f0373 lwp-request: Make a request and print response headers and status chain.
    $ lwp-request -E -m ${METHOD} ${http:--example-com-some-path}
    try on your machine
    explain this command
  • lwp-request:tldr:f5e8d lwp-request: Make a request with HTTP authentication.
    $ lwp-request -C ${username}:${password} -m ${METHOD} ${http:--example-com-some-path}
    try on your machine
    explain this command
back to context overview