The following items define the scope of the lesson. The lesson outline is flexible; you can improve, expand, and omit items whilst writing lesson content (make sure the pull request description mentions that).
Discuss what RESTful APis are
Explain that URLs, HTTP methods, and HTTP response status codes are important
Remind learners they can respond to a request with a JSON via res.json method
Lesson: RESTful APIs
https://github.com/TheOdinProject/curriculum/issues/28807
Lesson overview
Cover RESTful APIs and how to write them.
Lesson outline
The following items define the scope of the lesson. The lesson outline is flexible; you can improve, expand, and omit items whilst writing lesson content (make sure the pull request description mentions that).
res.json
methodAcceptance criteria
If the requirements here are not met, the work effort is not complete.
Additional information
Get the lesson template
Download the lesson template using the following command (replace
lesson_name
with the actual lesson name):