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.
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;
|
|---|