Laravel Eloquent: API Resources

added by JavaScript Kicks
10/10/2018 3:10:31 PM

784 Views

When creating API's, we sometimes specifying the data they want back in the various controller actions: Notice we omitted the attributes created_at and updated_at when formatting the response? Take another scenario where we want to update a book and expect a response back.


0 comments