Help for this page

Select Code to Download


  1. or download this
        my $ua = WWW::Mechanize->new();
        my $r = HTTP::Request->new(
    ...
            '... that file body ...'
        );
        my $res = $ua->request( $r,  );
    
  2. or download this
        my $ua = WWW::Mechanize->new();
        $ua->credentials('apikey','that_api_key');
    ...
            $file_content
        );
        my $res = $ua->request( $r );