Hi,
I'm trying to do this:
$data = "http://www.peng.es/wetter/wetter.txt";
$lookup = HTTP::Request->new('GET' => "$data");
$response = $ua->request($lookup);
@lines = split (/\n/, $response->content);
and the result is a 404 from the peng.es site.
Although the file is accessible:
http://www.peng.es/wetter/wetter.txt
What could cause this?
Thanks.
In reply to how to troubleshoot a http::request 404 problem by lexthoonen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |