http-request ( request -- response data )
HTTP client ยป GET requests with the HTTP client

Prev:<get-request> ( url -- request )
Next:http-request* ( request -- response data )


Vocabulary
http.client

Inputs
requesta request


Outputs
responsea response
dataa sequence


Word description
A variant of http-request* that checks that the response was successful.

Errors
Throws an error if the HTTP request fails.

See also
http-request*, with-http-request

Definition