Fork me on GitHub
#duct
<
2018-08-20
>
john2x06:08:24

Hello. I'm following the duct guide but I'm having issues around this section https://github.com/duct-framework/docs/blob/master/GUIDE.rst#adding-an-update-route When I try to perform the POST request, I get a 400 bad-request response.

john2x06:08:30

my current config.edn

john2x13:08:18

nvm, I was passing application/x-www-form-urlencoded parameters, instead of application/json

john2x13:08:14

out of curiosity so I can dig deeper, which piece in the config indicates that the handler expects json instead of urlencoded params? is it ataraxy?

dadair16:08:07

most likely in some key/middleware/config performed by :duct.module.web/api