What's the difference between using :body-params and :form-params in practice when creating an API using compojure-api? For example:
(POST* "/register" []
:body-params [username :- String,
password :- String]
(ok)))
vs
(POST* "/register" []
:form-params [username :- String,
password :- String]
(ok)))
Which one should be used for an API that's going to be consumed by a single-page clojurescript app and/or native mobile apps?