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 Simple Dynamic Site with Node.js!
You have completed Build a Simple Dynamic Site with Node.js!
Preview
In this video we'll get the user input from the search form.
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
Without realizing it, every time you type
in a website, you're creating
0:00
a GET request because you're retrieving
information from a website address.
0:02
When you create a form, you can specify
which method to use, GET or POST.
0:09
Specifying GET encodes the form's contents
into a query string at the end of the URL,
0:15
where POST sends the form's contents as
part of the request's body.
0:21
That's the client request body, similar to
the service response body.
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