A method decorator for defining HTTP PUT routes.
The route path for the PUT endpoint.
Optional
Optional configuration for the route.
A method decorator configured for a PUT route.
@Put('/update')updateResource() { return 'Resource updated';} Copy
@Put('/update')updateResource() { return 'Resource updated';}
A method decorator for defining HTTP PUT routes.