Get vs. Post
get: form information sent from browser to server as part of query string, visible in the URL
- Query String
https://host/path?param1=value1¶m2=value2¶m3=value3
- Question mark
- Ampersand separated parameter/value pairs
- parameter=value
post: form information sent from browser to server as part of HTTP body; not in URL
Example
3.2 - Simple for using 'get' - Example 3.2
<form method="get" action="https://cscie12.dce.harvard.edu/echo">Email Address:
<input type="text" name="email"/>
<br/>
<input type="submit"/>
</form>