Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
http-get ( url -- response data )
HTTP client
>
GET requests with the HTTP client
Next:
download ( url -- )
Vocabulary
http.client
Inputs and outputs
url
a
url
or
string
response
a
response
data
a
sequence
Word description
Downloads the contents of a URL.
Errors
Throws an error if the HTTP request fails.
Definition
IN:
http.client
:
http-get
( url -- response data )
<get-request>
http-request
;