Handbook
Glossary
<get-request> ( url -- request )
HTTP client
ยป
GET requests with the HTTP client
Prev:
http-get* ( url -- response data )
Next:
http-request ( request -- response data )
Vocabulary
http
.
client
Inputs
url
an
url
or a
string
Outputs
request
a
request
Word description
Constructs an HTTP GET request for retrieving the URL.
Notes
The request can be passed on to
http-request
, possibly after cookies and headers are set.
Definition
IN:
http.client
:
<get-request>
( url -- request )
"GET"
<client-request>
;