In a route i’m able to use $request->getParsedBody() to obtain values from the body. I use the values to do some validations. I would like to move these validations to middleware. Now when i access $request->getParsedBody() within my middleware, it returns NULL.
What is going on here? Is it not possible to read the body in middleware?