in reply to Re: REST::Client 500 Error
in thread REST::Client 500 Error

I'm able to connect via browser and i do not explicitly use 443 in the URL. It's returned as part of the error my Perl program is throwing. So, if we use HTTP::Tiny, i understand it doesn't verify server identity by default; so, i assume i don't have to install any SSL certs. Is that correct?

Replies are listed 'Best First'.
Re^3: REST::Client 500 Error
by perlfan (Parson) on Sep 15, 2020 at 22:38 UTC
    No, it doesn't verify ssl by default. HTTP::Tiny does require IO::Socket::SSL for connecting over SSL, however. Your Perl program is not throwing the 500, it is throwing an error because the server you're connecting to is responding with a 500 error. It's the server itself that is generating the 500.