Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 30, 2004, 12:19 am
rate this thread
I am currently working on an application which is supposed to retrieve
some information from a website. I form a query, where I place the
street address to get information on. The final part of the URL looks
When I check it in a browser (either Netscape or IE), it works fine. I
receive a web page with the data I need. In my application though, the
page contains no line I need. If I look for information on an address
with a single word street name, e.g.
my application returns correct results. What could be wrong?
I don't provide the entire URL string, because the website requires the
user agent to be a browser and has a cookie-based authentication
Your expert advice will be greatly appreciated.
Re: Need Help with LWP
> I don't provide the entire URL string, because the website requires the
> user agent to be a browser
LWP can put anything you like in the User-Agent header.
> and has a cookie-based authentication mechanism.
LWP can accept/store/return automatically. For instructions on how to
make it do this look for the work "cookie" in the LWP documentation.