Handbook
Glossary
PUT requests with the HTTP client
HTTP client
Prev:
POST requests with the HTTP client
Next:
HTTP client post data
Basic usage involves passing post data and a
url
, and getting a
response
and data back:
http-put
( put-data url -- response data )
http-put*
( put-data url -- response data )
Advanced usage involves constructing a
request
, which allows
HTTP cookies
and
HTTP headers
to be set:
<put-request>
( post-data url -- request )
Both words take a post data parameter; see
HTTP client post data
.