We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having the same problem like described in this post https://forum.adonisjs.com/t/using-stripe-webhook-problem-with-incoming-request/135
https://github.com/adonisjs/adonis-bodyparser/blob/5f566014b39c4f9ce26655a01b3f829cf976f00f/src/BodyParser/index.js This script returns at the first match which is json (because of Content-Type application/json) and skips setting the raw part.
Content-Type application/json
In some cases, you want to parse the raw part of a json request as well to validate signatures etc.
I think the raw part should always be set whatever Content-Type it is.
Content-Type
The text was updated successfully, but these errors were encountered:
d686e61
thetutlage
No branches or pull requests
I am having the same problem like described in this post https://forum.adonisjs.com/t/using-stripe-webhook-problem-with-incoming-request/135
https://github.com/adonisjs/adonis-bodyparser/blob/5f566014b39c4f9ce26655a01b3f829cf976f00f/src/BodyParser/index.js
This script returns at the first match which is json (because of
Content-Type application/json
) and skips setting the raw part.In some cases, you want to parse the raw part of a json request as well to validate signatures etc.
I think the raw part should always be set whatever
Content-Type
it is.The text was updated successfully, but these errors were encountered: