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