Ah!
Turns out when I started the server using appengine.server/start-
server I accidently passed in the original index handler! No wonder it
did not work. It works just fine now. Thanks for your reply!

On Feb 17, 4:07 pm, Zmitro Lapcjonak <idob...@gmail.com> wrote:
> 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