Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: REST::Client 500 Error

by ty_sopw (Novice)
on Sep 15, 2020 at 19:27 UTC ( [id://11121811]=note: print w/replies, xml ) Need Help??


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 (Vicar) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found