You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this only works for json requests and not form-encoded. This should be made clear in the docs.
The solution that i found was to just do this for form-encoded payload.
Is there an existing issue for this?
Current behavior
Trying this doc to access the raw body for a request - https://docs.nestjs.com/faq/raw-body
But this only works for json requests and not form-encoded. This should be made clear in the docs.
The solution that i found was to just do this for form-encoded payload.
Minimum reproduction code
https://github.com/obh/nest-test
Steps to reproduce
No response
Expected behavior
ideally you accept both json and form-encoded requests to work in the same way.
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
9.0.0
Packages versions
Node.js version
No response
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: