Help for this page

Select Code to Download


  1. or download this
    curl -X POST -d @test.xml http://user:password@server.com:5555/ --head
    +er "Content-Type:text/xml"
    
  2. or download this
    my $hash_form = {
       'data' => '@test.xml',
    ...
    };
    
    my $content = $lwpcurl->post($post_url, $hash_form, $referer);