is there a ring middleware that converts a req like so:
(-> session
(request "/api/reset-password"
:content-type "application/json"
:request-method :post
:body (cc/generate-string
{:email email
:newPassword newPassword
:resetToken token}
)))
to have body-params in the server?are you building a ring server from scratch? would highly recommend taking a working one and then modifying it to fit your needs.
There was another discussion about this. OP should have mentioned that https://clojurians.slack.com/archives/C8860D6BS/p1646233044822329
And also https://clojurians.slack.com/archives/C077KDE3A/p1646252574749819