in reply to Re: Posting request to an HTTPS protected site through a proxy.
in thread Posting request to an HTTPS protected site through a proxy.

Thanks! Initial results look promising although I will need to re-try in the office. ++ to you!

Update: The change worked!.

For future reference, the code looks like this.

# Create User Agent my $ua = LWP::UserAgent->new(timeout => 30, keep_alive => 10); # Use a proxy server if configured for normal HTTP $ua->proxy (['http'], $ProxyUrl) if $ProxyUrl; # Add Env var for Crypt::SSLeay $ENV{HTTPS_PROXY} = $ProxyUrl) if $ProxyUrl;
  • Comment on Re: Re: Posting request to an HTTPS protected site through a proxy.
  • Download Code