Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    use strict;
    ...
    my $req = HTTP::Request->new(GET => $url);
    ##add some headers here##
    my $res = $ua->request($req);
    
  2. or download this
    GET http://10.23.4.2:5988/myrest
    Accept: application/atom+xml
    ...
                                            '_uri_canonical' => $VAR1->{'_
    +request'}{'_uri'}
                                          }, 'HTTP::Request' )
                   }, 'HTTP::Response' );