http-put ( data url -- response content ) (original) (raw)

http-put ( data url -- response content )
HTTP client » PUT requests with the HTTP client

Next: http-put* ( data url -- response content )

Vocabulary
http.client

Inputs

data an object
url an url or a string

Outputs

response a response
content a sequence

Word description
Submits an HTTP PUT request.

Errors
Throws an error if the HTTP request fails.

See also
http-put*

Definition

IN: http.client

: http-put ( data url -- response content )
http-request ;