Post

Attributes for routes. Indicates the method used (case sensitive, usually uppercase), whether the method can have a body and the path.

Examples

@Route("GET", false, "hello", "world") // GET /hello/world
@Post                                  // POST /
@Delete("resource", "([a-z]+)")        // DELETE /resource/:name

Meta