1. Get is a request to the server for data, Post is a request to submit data to the server;
2 . Get adds the parameter data queue to the URL pointed to by the action attribute of the submitted form. The value corresponds to each field in the form and can be seen in the address bar; Post uses the HTTP Post mechanism to add each field in the form. Its content is placed in the body of the http package and transmitted to the URL address pointed to by the action attribute. The parameter data cannot be seen in the address bar;
3. The amount of data transmitted by Get is relatively large Small, cannot be larger than 2kb; the amount of data transmitted by Post is large and unrestricted (but theoretically, the maximum amount is 80kb in IIS4 and 100kb in IIs5);
4. When using the Get method to submit data, the server uses Request.QueryString to obtain the value of the parameter; when using the Post method, the server uses Request.Form to obtain the value of the submitted parameter.
5. Get is less safe than Post, but its execution efficiency is higher than the Post method.
Suggestions:
If it contains confidential information, use the Post data submission method;
When doing data query, use the Get method; when doing data When adding, modifying or deleting, use the Post method.