Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: HTTP Post with more than 256 chars

by gav^ (Curate)
on Mar 22, 2002 at 03:03 UTC ( [id://153477]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use URI::Escape;
    my $message = uri_escape(join('', @message));
    
  2. or download this
    use HTTP::Request::Common qw(POST);
    use LWP::UserAgent;
    my $url = 'http://xxx.xxxx.xxx/somewhat/bla/bboard/newthread.php';
    my $ua = LWP::UserAgent->new;
    my $res = $ua->request(POST $url, [action => 'send', boardid => 4]);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found