Coding task · NestJS course · Module 2: Routing and Request Lifecycle
Handling Body and Param Together
Create an endpoint that combines URL parameters with body data.
Task
In a controller class (e.g. TributesController), write an updateTribute method with the @Put(':id') decorator that takes both @Param('id') id and @Body() dto