Help for this page

Select Code to Download


  1. or download this
    my @ns_headers = (
        'ACCEPT' => '..',
        'ACCEPT_ENCODING' => '...', 
    ...
        'UPGRADE_INSECURE_REQUESTS' => '1',
        'USER-AGENT' => '...',
    ) ;
    
  2. or download this
    my $getReq = HTTP::Request->new( GET => $link, HTTP::Headers->new( @ns
    +_headers ) ) ;
    my $response = $ua->request( $getReq ) ;