Help for this page

Select Code to Download


  1. or download this
    >
    >What's the best way to go about making an HTTP POST?
    ...
    (The last line is probably more useful than the literal translation of
        print $ua->res->as_string;
    )
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my $res = $ua->request($req);
    print $res->as_string;