in reply to Use LWP get no URL response

you're assuming the website you're contacting likes the way your program looks and talk ... compare the headers, WWW::Mechanize::FAQ, [href://https://metacpan.org/pod/WWW::Mechanize::FAQ#I-thought-Mech-was-supposed-to-work-like-a-web-browser[, https://metacpan.org/pod/WWW::Mechanize#mech-agent_alias-alias