Fork me on GitHub
#ring
<
2022-03-26
>
fadrian12:03:00

I'm wrapping my handler with wrap-json-body and wrap-json-response. However, I'm still getting an input-stream instead of a json body in my request. Any ideas why?

Ferdinand Beyer07:03:40

Maybe your request does not set a JSON content-type? wrap-json-body will only parse the body if the Content-Type header contains something like application/json.