create a project:
lein new compojure-api kikka
cd kikka
; edit handler.clj
lein ring server
test it:
curl -H 'Content-Type: application/json' -X POST -d '[1,2,3]'
; [1,2,3]
curl -H 'Content-Type: application/json' -X POST -d '[1,2,"abba"]' http://localhost:3000/body
; {"errors":[null,null,"(not (integer? \"abba\"))"]}