A before interceptor that fakes an Accept header so that later interceptors can handle the Accept header normally. This is used because it's literally impossible to make a clickable link in a browser that sets the Accept header in the normal way.
To use, add a accept=application/csv to the URL query string. Expects the query params to have already been keywordized by keywordize-params
A before interceptor that fakes an Accept header so that later interceptors can handle the Accept header normally. This is used because it's literally impossible to make a clickable link in a browser that sets the Accept header in the normal way. To use, add a accept=application/csv to the URL query string. Expects the query params to have already been keywordized by keywordize-params
Given a schema, attempt to validate the body-params against it. Renders a 400 if the body-params does not match
Given a schema, attempt to validate the body-params against it. Renders a 400 if the body-params does not match
Given a schema, attempt to validate the query-params against it. Renders a 400 if the query-params does not match
Given a schema, attempt to validate the query-params against it. Renders a 400 if the query-params does not match
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close