Paste your wget command here

Switch to Javascript fetch() input - Switch to Curl input

Headers to Curl

Resulting Perl code

Copy to clipboard
#!perl use strict; use warnings; use HTTP::Tiny; my $ua = HTTP::Tiny->new(); my $res = $ua->request( 'GET' => 'https://example.com/', { headers => { 'Connection' => 'Keep-Alive', 'Accept' => '*/*', 'Accept-Encoding' => 'identity', 'User-Agent' => 'Wget/1.21' }, }, ); __END__ Created from wget command wget "https://example.com"

Powered by