A web browser communicates with the server typically using one of the two HTTP methods, GET and POST.
Both methods pass the information differently and have different advantages and disadvantages.
When the method is GET, all form data is encoded into the URL, appended to the action URL as query string parameters.
GET is less secure compared to POST because data sent is part of the URL So it's saved in browser history and server logs in plaintext.
GET method should never be used when sending passwords, SQL Query Strings or other sensitive information.
GET requests can be bookmarked
GET requests can be distributed & shared
When you click on the submit button, notice the values are part of the URL.