How to access the body of an incoming request - lwsjs/local-web-server GitHub Wiki

If you need to access the request body in middleware, include the module lws-body-parser from the default stack somewhere high up your personal stack.

Now, if an incoming request contains a body it will be present at ctx.request.body or ctx.request.rawBody. See koa-bodyparser for more information.