How to switch from web.php routes and make them api for usage in mobile app or other website?
I've made the project in laravel and made actions in web.php file. Now I want to make api from them so that I can use them in the mobile application I'm working on, Do I need to make separate api functions or just use same routes as api?