3 ms·
>Does perl have a built in HTTP client HTTP::Tiny ships with Perl, including 5.16. I'm not sure if MacOS Perl comes with a working IO::Socket::SSL you would n
by tyingq 4y ago
>Does perl have a built in HTTP client
HTTP::Tiny ships with Perl, including 5.16. I'm not sure if MacOS Perl comes with a working IO::Socket::SSL you would need for https.
Edit: See if this works or not:
perl -MHTTP::Tiny -E 'say HTTP::Tiny->new->get("https://www.google.com/")->{content}'
- jwilk 4y agoBeware that HTTP::Tiny doesn't verify TLS certs by default.