@Controller("/rootPath")
decorator."/dashboard/find"
and "/dashboard/update"
, the root of the route is dashboard."/find"
or "/update"
), use @HttpGet
, @HttpPut
, @HttpDelete
, @HttpPost
and the route as parameter.@RequestParam(paramName?:string) param
- will return the parameters\ parameter under this property, if none found, null will be returned.@QueryParam(paramName?:string) qParam
- will return the query parameters\ parameter under this property, if none found, null will be returned.@RequestBody() body
- The body of the request@Cookies(cookieName:string) cookie
- The cookie which fits to the name, if none found, null will be returned.@RequestHeaders(headerName:string)
- The header which fits to the name, if none found, null will be returned.@Response()
- The response object.@Request()
- The request object.