The routes/web.php
have common application routes, Like showing the views, Getting the data from the form to a controller method.
The routes/api.php
will have routes for getting records of the tables/entities in JSON
. Updating, Deleting etc via api routes ?
Question 1 : How will i use my routes/api.php
routes to get, delete, Update data/Records ?
Question 2 : Android app will be able to use my api ? If yes, How ?
Question 3 : The API should have a controller ApiController
?
Let the kid know the stuff !
Thanks