How to set or send a static response status code for a GET request in Nestjs?
Originally Published Here ๐!
To set or send a static response status code for a GET request in Nestjs, we can use the @HttpCode() decorator function from the @nestjs/common module before the Controller class method that handles that GET request.
TL;...
melvingeorge-me.hashnode.dev3 min read