andfelzapata
4 years ago
23
13
Laravel

Creating REST API with more actions other than usual CRUD.

Posted 4 years ago by andfelzapata

Say I have a resource with with the usual @store, @index, @create, @destroy, @show and @update, but I want more actions in the same restful way. (e.g @reportByDay, @reportByWeek, @reportByMonth, @reportByState). Any thoughts on how to accomplish this ?

Please sign in or create an account to participate in this conversation.