Back

parameters-interceptor (clj)

(source)

function

(parameters-interceptor)
Interceptor to parse urlencoded parameters from the query string and form body (if the request is a url-encoded form). Adds the following keys to the request map: :query-params - a map of parameters from the query string :form-params - a map of parameters from the body :params - a merged map of all types of parameter

Examples