Level 13
if you are making an api so you have to use api.php file
else use web.php file..
Hi,
I would like to know what is the best way to use Laravel roads with ajax calls.
Use the classic "web.php" routes use by php app or create specific routes in "api.php"?
I am asking for safety and good practice.
Thank you.
Please or to participate in this conversation.