in reply to Problem with a call to REST API

You need to share your code. What happens when you run this:

use strict; use warnings; use LWP::UserAgent; use HTTP::Request; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new( GET => 'https://mysite.com:443/'); my $response = $ua->request($req); print $response->code."\n";

Replies are listed 'Best First'.
Re^2: Problem with a call to REST API
by Anonymous Monk on Aug 14, 2023 at 17:41 UTC

    Hi,

    I get a "500" as result...

    Cheers,
    PaddyP