Changes for version 0.52 - 2023-09-15

  • Switch test suite to Test2::V0
  • Suppress trivial Content-Length headers in ->as_curl
  • --disable is a boolean option
  • Add support for --json
  • Add support for --max-filesize The behaviour is slightly different from cURL. --max-filesize looks at the size of the body, not at the Content-Length header.
  • Add support for --interface (only IP addresses, not interface names)
  • Fix Mojolicious snippet generation with local address

Documentation

convert curl arguments to Perl code
convert curl/wget arguments to Perl code

Modules

container for a Curl-like HTTP request
create a HTTP::Request from a curl command line
turn a Javascript fetch() statement into HTTP::Request
create a HTTP::Request from a wget command line