in reply to Re: Using HTTP::Request::Common to do a GET with form-data?
in thread Using HTTP::Request::Common to do a GET with form-data?

I tried your command against google's website ...
...The response was 403 Forbidden. What's wrong with this query ?

Whats wrong is the google doesn't like the LWP User Agent and will always return 403 to any request with the LWP UA. See this email thread (which I found from a google search). You need to set the UA to something like 'Mozilla/3.142', which I don't believe is possible using LSP::Simple. See doco on LWP and LWP::UserAgent

Dingus


Enter any 47-digit prime number to continue.
  • Comment on Re: Re: Using HTTP::Request::Common to do a GET with form-data?