download ( url -- )
HTTP client ยป GET requests with the HTTP client

Prev:http-get* ( url -- response data )
Next:download-to ( url file -- )


Vocabulary
http.client

Inputs
urlan url or a string


Outputs
None

Word description
Downloads the contents of the URL to a file in the current-directory having the same file name.

Errors
Throws an error if the HTTP request fails.

Definition