没有找到Symfony Route“GET / articles /”

I'm following this tutorial:

https://openclassrooms.com/courses/construisez-une-api-rest-avec-symfony/introduction-a-la-serialisation-avec-jmsserializer

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/"

debug router

function in error

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