Using GET and POST
Explore how GET and POST methods handle form data submission in HTML. Understand their differences, privacy implications, and appropriate use cases for secure and effective web form communication.
We'll cover the following...
Understanding usage of GET and POST
Sending the form data to the server like we did in Exercise: Visualizing form data has a big issue; it’s privacy. The content of the form is sent as part of the URL, which can be copied from the address line of the browser.
For example, when you copy the request belonging to the last image in the previous lesson:
📜NOTE: In the real URL there are no line breaks and indentations. Here I used them only for the sake of readability.
Here you can see my password strings! Even if you would use HTTPS, these passwords were part of the URL, so anyone could read it! HTTP and HTTPS provide a way to solve this ...