Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent;
    use HTTP::Request::Common qw(POST);
    ...
                     );
    
    $response = $ua->request($req);
    
  2. or download this
    $filename = "c:/test.pl";
    use HTTP::Request::Common qw(POST);
    ...
    my $res = $ua->request($req);
    
    print $res->as_string;