Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent;
    use HTTP::Request::Common;
    ...
        
    $ua -> credentials($endpoint, $realm, $usr, $pwd);
    my $response = $ua -> request(GET $url) -> as_string;