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 => { 'Accept-Encoding' => 'identity', 'Accept' => '*/*', 'User-Agent' => 'Wget/1.21', 'Connection' => 'Keep-Alive' }, }, ); __END__ Created from wget command wget "https://example.com"

Powered by