Am new to loopback, am trying to console request.body in loopback 4 to view the incoming data, but if i print it it prints as undefined, i know i need to use body parser package here, but i can't able to figure it how to use it with LB4? Any help will be appreciated
export class MySequence extends MiddlewareSequence {
async handle(context: RequestContext): Promise<void> {
const {request} = context;
console.log({body: request.body});
await super.handle(context);
}
}