Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Build a REST API with Laravel!
You have completed Build a REST API with Laravel!
Preview
In this section, we’ll learn how we access and display specific data using Resources for our Authors and Books resources.
Eloquent
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
We've created our resource controllers,
validated requests and
0:00
finally, we returned responses for both
the author controller and book controller.
0:01
In this section, we'll learn how we can
access specific data using resources.
0:07
Then we'll build a few basic routes so we
can test our authors and books resources.
0:13
Finally, we'll test our API so
0:19
we can verify the resources are displaying
the correct data as expected.
0:22
Why exactly do we want to use resources?
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up