The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

net.http

Exports a selection of functions for performing HTTP/HTTPS operations.

http-get

Description

Retrieves an HTTP/HTTPS document at the specified URL and returns its content.

Usage

<url>

Examples

:emphasize-lines: 2

(http-get "http://hasthelargehadroncolliderdestroyedtheworldyet.com/")
"NOPE."