Javascript – How to pass NestJS @Request() object data from Postman
I am testing a NestJS application using Postman. In NestJS we have @Request() decorator(part of @nestjs/common), in which I have the context of the currently logged-in user of my application, which I can access using req.userId or req['userId'] It works…