This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
We created the AuthorResource and used it to remove database specific data such as ID and timestamps. Then, we tested our routes using both POSTMAN and REST Client in order to verify that the data we are exposing to our API consumers is correct. In this section, weβre going to repeat the steps we took when building out the AuthorResource by using the Book model as a guide to specify what data to hide and which to expose.
Resources
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
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