in reply to Re: Re: HTTP::Request(POST, ...)
in thread HTTP::Request(POST, ...)
When trying to automate any website, always capture what your browser is sending and receiving, and compare that against what you are sending and receiving.
The error message you are giving, HTTP Status 400 - Invalid direct reference to form login pape, sounds like the server is expecting a valid Referrer: header, and you are not sending any. So, maybe try automating the page through WWW::Mechanize, which tries to behave more like a browser. Once you have that working, you can strip down the script to something only using LWP, or keep the script using WWW::Mechanize.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: HTTP::Request(POST, ...)
by Anonymous Monk on Jun 04, 2004 at 19:15 UTC | |
by Corion (Patriarch) on Jun 04, 2004 at 19:23 UTC |