Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- POST Requests 6:26
- The Request Object 4:29
- Review: The Request Object 5 questions
- The Response Object 5:29
- Review: The Response Object 5 questions
- Review Adding Multiple Routes 2 objectives
- Statelessness, Setting and Reading Cookies 9:41
- Review: Statelessness 5 questions
- Redirects 5:44
- Challenges: Redirects 2:37
- Solution: Clearing Cookies and Redirecting 1:55
- Review: Redirects 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
A closer look at Express's Response object.
Documentation
Sending Data From Express
If you want to know more about how to use Express to serve JSON-only responses, check the course Build a REST API With Express out on Treehouse.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Jiten Mehta
Front End Web Development Techdegree Graduate 21,209 Points2 Answers
-
Sean Paulson
6,669 Points1 Answer
-
M. Stella Kiziridou
6,782 Points1 Answer
-
mersadajan
21,306 Points1 Answer
-
Neil Brown
22,514 Points1 Answer
-
Kyle Pate
2,710 PointsWhy do we use {}? As in: res.render('hello', {name: req.body.username)}) Why is req.body.username in brackets?
Posted by Kyle PateKyle Pate
2,710 Points2 Answers
View all discussions for this video
Related 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