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

http-options ( url -- response content )
HTTP client » OPTIONS requests with the HTTP client

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

Vocabulary
http.client

Inputs

url an url or a string

Outputs

response a response
content a sequence

Word description
Submits an HTTP OPTIONS request.

Errors
Throws an error if the HTTP request fails.

See also
http-options*

Definition

IN: http.client

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