Methods

1
2
3
4
5
6
demo_remove:
   path:         clients/{client}
   controller:   LMS\Demo\Controller\DemoApiController::test
   methods:      [DELETE]
   requirements:
      client:    \d+

Tip

Route will be triggered only if methods is matched

Required: No

Variants: GET | POST | DELETE | PUT

Tip

By default ( when methods is not specified ) any method is okey.