The difference between the use of post and get

1. get is to obtain data from the server, and post is to transmit data to the server.
  2. get is to add the parameter data queue to the URL pointed to by the ACTION attribute of the submitted form, and the value corresponds to each field in the form, which can be seen in the URL. Post is through the HTTP post mechanism, each field in the form and its content are placed in the HTML HEADER and sent to the URL address pointed to by the ACTION attribute. The user cannot see this process.
   3. For the get method, the server uses Request.QueryString to obtain the value of the variable, and for the post method, the server uses Request.Form to obtain the submitted data.
   4. The amount of data transmitted by get is small and cannot be larger than 2KB. The amount of data transmitted by post is relatively large, and is generally defaulted to be unlimited. But in theory, the maximum amount is 80KB in IIS4 and 100KB in IIS5.
   5. Get security is very low, post security is high

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326943147&siteId=291194637