The main difference between Get and Post,

Difference 1,

       Get data from the server is acquired, Post data is transmitted to the server.

2 difference,

       GET URL is added to the parameter data queue submission form ACTION attribute referred to in the various fields and values ​​within the form-one correspondence can be seen in the URL; Post HTTPpost data is through the mechanism, placed in Html header with transmission ACTION attribute to the URL address refers. Users do not see this process.

3 difference,

       For Get embodiment, the server acquires the value of the variable with Request.QueryString; retrieve data values ​​from the Request.Form submitted to a Post manner, with the server.

4 difference,

       Get the most data submission of 1024 bytes, while a large amount of data transfer Post typically default to unlimited.

5 difference,

       Get parameters and parameter values ​​of submission will be displayed in the address bar, insecurity, and the Post will not, relatively safe. In doing data query, we recommended Get; and in doing data added, modified or deleted, it is proposed Post manner;

6 difference,

       There are cached in the browser when the Get request, saving performance, read rollback data cache, while Post request the browser cache sends a request again, more than Get consume server performance.

Published 61 original articles · won praise 227 · views 40000 +

Guess you like

Origin blog.csdn.net/weixin_42881768/article/details/104782798