# Quick JSON API request with Basic authentication my $value = $ua->get('https://sri:t3st@example.com/test.json')->result->json; # JSON POST (application/json) with TLS certificate authentication my $tx = $ua->cert('tls.crt')->key('tls.key') ->post('https://example.com' => json => {top => 'secret'});