Help for this page

Select Code to Download


  1. or download this
    use strict;
    use CGI;
    ...
    # code to return 400
    print "400\n";
    exit;
    
  2. or download this
    use LWP::UserAgent;
    use strict;
    ...
    $req->content_type('text/xml');
    $req->content("$content");
    print $ua->request($req)->as_string;