can I use the same Controller that I have used for a CRUD, for a RESTFUL API in laravel? if so, would you give me a short example how to do it? any part of the CRUD returns a view but the RESTFUL API doesn't, is it possible to use the same controller for both of them?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire