Hi, I want to receive a 3rd party webhook and do something with it. However, the webhook does not have a
Content-Type header. The BodyParser middleware seems to rely on a
Content-Type header as one can see in its
handle() method. The result is that I can’t access the payload via
request.input() in my controller. It is all empty.
As soon as I synthetically set the Content-Type header to
application/json it is working.
Can’t the body parser guess the content type if the header is missing? Or at least assume
What can I do right now in my situation?