in reply to Re^3: HTTP response: 400 Bad Request
in thread HTTP response: 400 Bad Request
but try first to set the agent string as they suggest, modify this to reflect yours: User-Agent: Sample Company Name AdminContact@<sample company domain>.com . They say "does not allow" and "managed to ensure..." so you may have a chance to do it by the book.
Either way, this is how you set the agent string with File::Fetch:
use File::Fetch; $File::Fetch::USER_AGENT = 'abc'; my $ff = File::Fetch->new(uri => 'https://dnschecker.org/user-agent-in +fo.php'); $ff->fetch(to=>'./abc');
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: HTTP response: 400 Bad Request
by justin423 (Scribe) on Jul 14, 2023 at 09:17 UTC | |
by justin423 (Scribe) on Jul 14, 2023 at 10:27 UTC | |
by bliako (Abbot) on Jul 14, 2023 at 13:01 UTC | |
by justin423 (Scribe) on Jul 14, 2023 at 14:09 UTC | |
by bliako (Abbot) on Jul 14, 2023 at 15:16 UTC | |
by hippo (Archbishop) on Jul 14, 2023 at 14:33 UTC | |
by justin423 (Scribe) on Jul 15, 2023 at 01:10 UTC | |
by hippo (Archbishop) on Jul 15, 2023 at 08:25 UTC | |
|