http-get ( url -- response content )
HTTP client ยป GET requests with the HTTP client

Next:http-get* ( url -- response content )


Vocabulary
http.client

Inputs
urlan url or a string


Outputs
responsea response
contenta sequence


Word description
Downloads the contents of a URL.

Errors
Throws an error if the HTTP request fails.

See also
http-get*

Definition

: http-get ( url -- response content )
<get-request> http-request ;