|Pathologically Eclectic Rubbish Lister|
HTTP::Headers error when submitting form via WWW::Mechanizeby jerrygarciuh (Curate)
|on Jun 30, 2004 at 18:27 UTC||Need Help??|
jerrygarciuh has asked for the
wisdom of the Perl Monks concerning the following question:
I am attempting to learn WWW::Mechanize in order to avoid paying for API access from a large financial institution. If my app can access their web interface securely then the API is unneccessary. The modules in libwww-perl and HTTP::Headers etc are fresh from CPAN. My sample code:
The small sample code above produces the following output on the command line:
So the get() works on the https url but the object we grab with submit_form() throws an error. Does anyone understand why this should be the case? The source looks like this:
Thanks very much for any advice!!
"The man who grasps principles can successfully select his own methods.
The man who tries methods, ignoring principles, is sure to have trouble.
~ Ralph Waldo Emerson