- Post(path?: string | string[]): MethodDecorator
Parameters
Optional
path: string | string[]
Returns MethodDecorator
- Post<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator
Parameters
Optional
stringify: IResponseBodyStringifier<T>
Returns MethodDecorator
- Post<T>(
path: string | string[],
stringify?: IResponseBodyStringifier<T>,
): MethodDecorator Parameters
- path: string | string[]
Optional
stringify: IResponseBodyStringifier<T>
Returns MethodDecorator
Router decorator function for the POST method.
Param: path
Path of the HTTP request
Returns
Method decorator