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 Express Basics!
You have completed Express Basics!
Preview
Learn about HTTP redirects and how they can be used in a web application.
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
that website generally redirects to
another page, like the Welcome page.
0:00
Redirecting after a form
submission prevents
0:04
duplicate submissions if
a user refreshes the page.
0:06
Likewise, when you try and
0:10
visit a protected page on a website, it
will often redirect you to a login screen.
0:11
Then when you've logged in, it will redirect
you back to the page you wanted to visit.
0:17
So, what is redirecting?
0:22
In terms of HTTP,
it represents a series of specific events.
0:24
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