What is the difference between Get & Post Method?

 

To understand the above you need to understand that how the data sent from the browser to the server. When you create a form in HTML and then send the data using that form, you can send your data in two ways,

1.         Using the GET method

2.         Using the POST method

 

The key difference between the two is the way data is sent to the server, on the GET method you send the form data as a part of the browser URL.

 

 

While in case of the POST method, the form data is sent as a part of the message body

 

While the specifications also suggest that GET method should be used basically for just getting the records while POST method can involve anything like storing or updating data, or retrieving data.