Fork me on GitHub
#ring-swagger
<
2016-11-30
>
tom22:11:21

Is there a way to accept an arbitrary body in a post request? I'm trying to accept messages from AWS SNS which aren't always the same in terms of expected keys. So I'm trying to use :body [sns s/Any] but for some reason it returns a nil body.

tom22:11:51

I think amazon is sending json data with this content type: Content-Type: text/plain; charset=UTF-8

tom23:11:26

I just wrote some middleware for amazon, hoped there would be something simpler