![]() |
@ChicagoPhil Okay, Good question.
See this tutorial: https://www.binaryboxtuts.com/php-tutori...ntication/ You will create app/Controllers/User.php. And you will define routes: PHP Code: $routes->group("api", function ($routes) { If you will navigate to http://example.com/api/users (defined route), the authFilter will be applied. But if you will navigate to http://example.com/user/index (auto route), the filter will not be applied. |
Welcome Guest, Not a member yet? Register Sign In |