I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-11-09 19:55:01-08 by occerman
POST in IE::Mechanize, can it be done?
IE::Mechanize performs GET requests great but what if I want a POST request? i.e., www.website.com/inventory with a POST request of car=honda&model=accord&color=blue In my case I can't get away with a get request of: www.website.com/inventory?car=honda&model=accord&color=blue Any idea how to do a POST request? Thanks.
Direct Responses: 1301 | Write a response
Posted on 2005-11-11 13:57:22-08 by abeltje in response to 1296
Re: POST in IE::Mechanize, can it be done?
If the form specifies METHOD=POST, the submit_form() method will send a post request. Something like this:
$ie->get( 'http://www.website.com/inventory' ); $ie->submit_form( form_number => 1, fields => { car => 'honda', model => 'accord', color => 'blue' }, );
Direct Responses: Write a response