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
Let's plan out our REST API application by mapping HTTP methods to CRUD operations.
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
using the most common HTTP request
methods, get, post, put, and delete, and
0:00
mapping them to CRUD operations,
create, read, update, and delete.
0:01
Let's start to break this
down in our app.js file.
0:05
We want clients to be able to use our
0:08
API to Send a GET request to READ or
view a quote.
0:13
Send a POST request to Create a new quote.
0:20
Send a PUT request to UPDATE or
edit a quote.
0:25
And send a DELETE request
to DELETE a quote.
0:29
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