Executes the HTTP request corresponding to the given map and returns the response map for corresponding to the resulting HTTP response.
In addition to the standard Ring request keys, the following keys are also recognized:
The following additional behaviors over also automatically enabled:
Executes the HTTP request corresponding to the given map and returns the response map for corresponding to the resulting HTTP response. In addition to the standard Ring request keys, the following keys are also recognized: * :url * :method * :query-params * :basic-auth * :content-type * :accept * :accept-encoding * :as The following additional behaviors over also automatically enabled: * Exceptions are thrown for status codes other than 200-207, 300-303, or 307 * Gzip and deflate responses are accepted and decompressed * Input and output bodies are coerced as required and indicated by the :as option.
(wrap-request request)
Everything in default except exceptions on non 2xx responses. See clj-http.client.
Everything in default except exceptions on non 2xx responses. See clj-http.client.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close