note
davido
<p>Instantiate your own LWP::UserAgent object with the fields you deem useful. I don't think that your <c>ssl_opts</c> field is getting passed through. Here's an incomplete example:</p>
<c>
my $ua = LWP::UserAgent->new(
ssl_opts => {verify_hostname => 0},
);
my $client = REST::Client->new(
timeout => 30,
useragent => $ua,
);
</c>
<p>This has two benefits. First, it allows you to configure the user agent however you like. But second, it provides you full access to the LWP::UserAgent object, so that you can probe and inspect the transaction in far greater detail than what is exposed natively by REST::Client.</p>
<div class="pmsig"><div class="pmsig-281137">
<br /><p>Dave</p>
</div></div>
11121798
11121798