unfortunately, I must say. Writing REST applications would be much easier with a dispatch on request method and uri ...
Hmm, look http://restas.lisper.ru/en/tutorial/hello-world.html#processing-of-post-requ... and http://restas.lisper.ru/en/manual/routes.html
Andrey