i'm trying to define an API endpoint that uses POST and takes a JSON body w/ two string params (term/definition) using the compojure/compojure api in luminus (https://github.com/metosin/compojure-api/wiki/Building-Documented-Apis) but i can't seem to figure it out. the equivalent GET request is:
(GET "/definition-grade" []
:query-params [term :- String
definition :- String]
(send-response (definition-grade/definition-grade term definition) :json))
any ideas?