LWP and Forbidden 403 errors

I am trying to invoke a webMethods webservice via an LWP call in perl. When I call this url through the browser, I get a successful response, but when I do it through LWP I get a 403 forbidden message. Can anyone give me a hint as to why this is?

Thank you,


Did you add in user auth, something like this should work:

use LWP::UserAgent; 
$ua = LWP::UserAgent->new; 
$req = HTTP::Request->new(GET => 
$doc = $ua->request($req)->as_string; 

That worked – thanks so much. Sorry for the double posting.