Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialWilliam Wilson
3,237 PointsWhere is the training on how to update an HTML form to use a post request?
I just started the Sinatra module. I am stumped on what to do with the first Sinatra task. I would like to go back and learn about using get and post to update an HTML form. Please direct me to the module containing the get and post training needed to accomplish the first Sinatra module task.
1 Answer
Rohald van Merode
Treehouse StaffHey William Wilson 👋
We have an entire course in the library dedicated to HTML Forms, the method is specifcially mentioned in the video about the form element
You'll want to add a method
attribute to the form element and give it a value of post
:
<form method="post">
Hope this helps! 😃