Play Framework

Access to the raw Request body in Play Framework

Access to the raw Request body in Play Framework

Play Framework uses the concept of BodyParsers to read the data being sent in our HTTP requests. You can read more about this subject in the official docs. As it can be seen, we can specify an explicit BodyParser in our controller actions as explained in this page but unless we have some specific need we will possibly be better delegating the right parser to the framework. By default, Play uses the BodyParser.