Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent;
    use Data::Dumper;
    ...
    if ($response->is_success) 
     {  print Dumper $response; }
    else { print "Error: " . $response->status_line, "\n"; }
    
  2. or download this
    $ua->ssl_opts(SSL_cert_file => 'privatekey.pfx');
    $ua->ssl_opts(SSL_passwd_cb => sub { return "passwordvaluehere"; } );
    $ua->ssl_opts(SSL_use_cert => '1');