http-delete ( url -- response content ) (original) (raw)

http-delete ( url -- response content )
HTTP client » DELETE requests with the HTTP client

Next: http-delete* ( url -- response content )

Vocabulary
http.client

Inputs

url an url or a string

Outputs

response a response
content a sequence

Word description
Requests that the origin server delete the resource identified by the URL.

Errors
Throws an error if the HTTP request fails.

See also
http-delete*

Definition

IN: http.client

: http-delete ( url -- response content )
http-request ;