with-http-request ( request quot: ( chunk -- ) -- response )
HTTP client > GET requests with the HTTP client

Prev:http-request* ( request -- response data )
Next:with-http-request* ( request quot: ( chunk -- ) -- response )


Vocabulary
http.client

Inputs and outputs
requesta request
quota quotation with stack effect ( chunk -- )
responsea response


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

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

Definition

: with-http-request
( request quot: ( chunk -- ) -- response )
with-http-request* check-response ; inline