http://qs1969.pair.com?node_id=418028


in reply to WWW::Mechanize POST Method

WWW::Mechanize isa (is a) LWP::UserAgent. That means anything that you can do with LWP::UserAgent, you can do with WWW::Mechanize. That turns out to be convenient. LWP::UserAgent has an $agent->post() method, which can be invoked from your WWW::Mechanize object.


Dave

Replies are listed 'Best First'.
Re^2: WWW::Mechanize POST Method
by rgatliff (Sexton) on Dec 29, 2004 at 17:55 UTC
    my $response = $browser->post($url, [ 'value1'=>"2", 'value2'=>"0", ## etc.etc.etc.... ], @ns_headers);
    with the WWW:::Mechanize object worked perfectly. Thanks for the help. Rob