NestJS · Junior · Question 18 of 75
What status code does a @Post() handler return by default?
- 1204
- 2200
- ✓Correct answer: 201
Explanation
Other methods return 200 by default. Change it with @HttpCode(204) or another code.