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 in Spark!
You have completed Build a REST API in Spark!
Preview
We are going to wrap up the API and tests! You got this!
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
So, what we'll need to do here is
capture the correct HTTP method right.
0:00
What should that look like?
0:04
Go ahead.
0:05
You give it a try.
0:06
You've got this.
0:07
Now pause me and
come back when you're all done.
0:08
Ready?
0:12
Well, it's a post.
0:12
So we're gonna say,
post courses the courseId and
0:14
reviews, cuz we're gonna post
a new review to a certain course.
0:19
And of course, that is "application/json".
0:26
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