Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Remote web form post

by Anonymous Monk
on Aug 21, 2011 at 01:19 UTC ( #921463=note: print w/ replies, xml ) Need Help??

in reply to Re: Remote web form post
in thread Remote web form post

is missing the correct operator between POST and the URL string

Sure its not :)

use DDS; use HTTP::Request::Common qw(POST); Dump( POST '', [ qw' username joe password joe ' ] ) +; __END__ $HTTP_Request1 = bless( { _content => 'username=joe&password=joe', _headers => bless( { "content-length" => 25, "content-type" => 'application/x-ww +w-form-urlencoded' }, 'HTTP::Headers' ), _method => 'POST', _uri => \do { my $v = '' } }, 'HTTP::Request' ); bless( $HTTP_Request1->{_uri}, 'URI::http' );

I agree with the rest of your words

Comment on Re^2: Remote web form post
Download Code
Replies are listed 'Best First'.
Re^3: Remote web form post
by linuxer (Curate) on Aug 21, 2011 at 09:59 UTC

    Ah, thank you for the hint. I tested with HTTP::Request, which I prefer...

    I thought of POST being a bareword and not an exported function from HTTP::Request::Common.

    Well, now I see, I don't like that style... ;-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-11-29 11:31 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls