+ 1
can anyone pls tell me what is method=post and why is it necessary, and what does it actually do.
4 Answers
+ 5
When you hit the submit button of a form in a page it sends all the information inside of it to the server. This info can be sent two ways: GET or POST. With GET you will see the data displayed in the url, meanwhile with POST it won't appear. You will normally use POST because you probably want to protect the information
0
it is use to hide the information of the user such as the password etc
0
it is referring to HTTP (hypertext transfer protocol) which defines communication over the web. essentially you have HTML as a language which defines and structures information for your browser to output to your screen but HTTP is how you send and receive that information between computers over the internet. http defines several methods or functions, but the most used are GET and POST. The GET method requests data from another server, the POST method requests that the other server accepts data.
0
post is for validation, like credit card number, usernames/passwords when you login to website its validated on the server if the information is correct you are allowed into the site if its not 'you have entered a wrong username/password or card number is displayed, simply put its for validating sensitive information, hope that helps