Next.js 14.2.28 Unable to access request Body in api route #79763
Labels
Connection
Related to the connection() function.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Link to the code that reproduces this issue
/
To Reproduce
Summary
I am using NextJs with app directory and I am trying to access request's body in one api route but it is giving empty object. Here's the code:
Current vs. Expected behavior
Below is the image of the request I am sending via postman
here my BE log when use post nextjs api route
When I tried accessing request body direct the api in api route there and in that routes they are working perfectly.
Provide environment information
Which area(s) are affected? (Select all that apply)
Connection
Which stage(s) are affected? (Select all that apply)
Other (Deployed), next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: