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

http-post ( data url -- response content )
HTTP client » POST requests with the HTTP client

Next: http-post* ( 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 POST request.

Errors
Throws an error if the HTTP request fails.

See also
http-post*

Definition

IN: http.client

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