On Feb 17, 5:13 am, Zhenchao Li <cockneyke...@gmail.com> wrote:

>    (POST "/vote" {params :params} (post-vote params))

> The site here is used to capture :params, which is new in compojure
> 0.6.0. However I'm getting a empty map in post-vote. I wonder what's
> wrong with the above code? Any suggestions? Hints?

Have you verified, that your html form really sends the params?
Also you can wrap your handler "index" with logging middleware,
to see, what is your request.

--
Zmi La

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to