Forms - JamesDansie/data-structures-and-algorithms GitHub Wiki
Forms
Author: James Dansie
In html we receive information from the client using forms. These transfer data using the https protocol with requests from the client, and responses from the server. The action attribute says what happens after the form is submitted. For example will go to google after the form is submitted. These can also use relative paths e.g. ../pages/stuff.
The method attribute defines how data is sent. If we use a GET method the data will be transferred in the url and show up in response.query. If we use the POST method the information is transferred in the body object, and shows up in response.body.
References