Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^2: HTTP Post of XML data

by hallikpapa (Scribe)
on Nov 14, 2007 at 03:46 UTC ( #650668=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $browser = LWP::UserAgent->new;
    my $url = 'http://localhost:8180/request';
    my $response = $browser->post($url,Content => $output);
  2. or download this
    Not an ARRAY reference at /usr/share/perl5/HTTP/Request/ line
    + 83.
  3. or download this
    my $browser = LWP::UserAgent->new;
    my $url = 'http://localhost:8180/request';
    my $response = $browser->post($url,$writer);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://650668]
[marioroy]: why do some posters not know to provide a good SSCCE? Nested loops?
[Corion]: marioroy: Producing good SSCCE is an acquired skill :) You have to produce bad SSCCEs for a long time until you get good. And when you get good, you don't need them that much anymore because you simply isolate the problem and then solve it ;)
[marioroy]: ... and kcott is able to provide something. Amazing.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-08-18 08:17 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (297 votes). Check out past polls.