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 REST APIs with Express!
You have completed REST APIs with Express!
Preview
In this video, we'll add functionality to our app that will allow the client to request a random quote.
This video doesn't have any notes.
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 written so far to remember syntax
and how things should be structured and
0:00
go ahead and
write the route in the routes.js file.
0:03
Pause the video, give it ago, and
remember, this challenge is open book.
0:06
How’d you do?
0:12
If you got stuck somewhere along the line,
don’t sweat it.
0:13
Watch my solution, finish the course,
sleep on it, come back and try again.
0:16
If this is pretty new to you, you’ve
absorbed a ton of information throughout
0:19
this course and sometimes your brain just
needs a little time to process it all.
0:23
Okay, so let’s dig into it.
0:26
I’m simply requesting information,
so I’m going to write a GET request.
0:28
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