path: /users methods: [GET, PUT, POST, DELETE], handler: 'UserController' in this case, UserController should have the corresponding methods.
path: /users
methods: [GET, PUT, POST, DELETE],
handler: 'UserController'
in this case, UserController should have the corresponding methods.