in reply to Re^4: AnyEvent::HTTP and getting data back from a post request
in thread AnyEvent::HTTP and getting data back from a post request
Chee-nious!!!
Yep - that (mostly) did it (I'm hanging, never ending - but that is a minor issue just now):
The Dumper print is telling me I'm not getting my basic authentication through:
{ 'URL' => 'http://user:pass@host.name/my/path', 'connection' => 'close', 'Status' => '401', 'HTTPVersion' => '1.1', 'date' => 'Thu, 27 Jan 2011 16:05:54 GMT', 'content-length' => '0', 'Reason' => 'Authorization Required', 'content-type' => 'text/plain', 'www-authenticate' => 'Basic realm="SWORD"', 'x-error-code' => 'ErrorAuth', 'server' => 'Apache/2.2.13 (Unix) mod_perl/2.0.4 Perl/v5.1 +0.0' }
.... however - I have just found http://kobesearch.cpan.org/htdocs/AnyEvent-Twitter-Stream/AnyEvent/Twitter/Stream.pm.html - which seems to have a solution to authenticated access to we sites & getting data..
|
|---|