How to get all the params of a POST request with Compojure
问题 According to the Compojure documentation on routes, I can easily get individual parameters like this: (POST "/my-app" [param1 param2] (str "<h1>Hello " param1 " and " param2 "</h1>")) How do I get all parameters, not just individual parameters? 回答1: compojure handlers receive the entire request map as their argument, so handler has also an access to all of the parameters. For example, to see entire request: (POST "/" request (str request)) or, to extract all form parameters: (POST "/" request