I'm following this tutorial:
I did what the teacher want me to do, but when I try to access http://api/app_dev.php/articles I get the following error:
No route found for "GET /articles/"
Mycontroller the controller
In your debug:routes
it shows that the route /articles is POST
and not GET
, change the method from POST to GET please inside your controller or inside your routing file
The route you try is /articles/
But the route defined is /articles