API/MVC best practices: is it ok to use both api.php and web.php when creating an app?

后端 未结 0 503
别那么骄傲
别那么骄傲 2021-01-02 01:37

I\'m creating a web app in Laravel that is MVC, but some of the views make AJAX calls, and the server returns JSON instead of a new view.

For example, on POST /regist

相关标签:
回答
  • 消灭零回复
提交回复
热议问题