if you want to send some confidential values to url via the form, you should use the post method. If you use the get method for a form such as login, parameter values such as userid and password will be visible in the URL, and anyone can crack this item. Therefore, it is better to use the post method in forms. By default, it is called by the get method.
in get the url is like http:
so if you use post method the url will be like this http:
source
share