Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: WWW::Mechanize POST Method

by davido (Cardinal)
on Dec 29, 2004 at 17:25 UTC ( #418028=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://418028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-03-21 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?