Type of the BodyParam decorator
Injects a body parameter into controller handler Requires an express body-parser
class ExampleController { @Post('/') index(@BodyParam('id') id : string) { // id is "foobar" for post body '{"id":"foobar"}' } }
Generated using TypeDoc
Type of the BodyParam decorator