Tag
rest
Published articles tagged rest.
Controllers in NestJS
Controllers map HTTP routes to methods and turn their return values into responses. This chapter covers route decorators, reading parameters, query strings and bodies into DTOs, status codes and headers, and the escape hatch to the underlying Express response.