New to symfony: completely follow the official website documentation and place createAction in DefaultController.php
The following prompts that routing needs to be set before accessing
I add
/**
@Route("/api")
*/
before createAction and an error will occur when accessing http://localhost/symfony/web/api. How to set up this route can be accessed from the front desk. Please help. Thank you
New to symfony: completely follow the official website documentation and place createAction in DefaultController.php
The following prompts that routing needs to be set before accessing
I add
/**
@Route("/api")
*/
before createAction and an error will occur when accessing http://localhost/symfony/web/api. How to set up this route can be accessed from the front desk. Please help. Thank you
How to call this method directly from outside http://localhost/symfony/web/api and how to call it in other methods? Could someone please help me look at it