Two major requests that programmers often see: the difference between GET and POST

 

 

Request method GET POST
Parameter location url query Generally in content, query can also
Parameter size Limited by browser url size, generally no more than 32K 1G
Server data reception Receive 1 time According to the data size, it can be divided into multiple reception
Applicable scenarios (semantics) Get data from the server without adding, deleting, or modifying Submit data to the server, such as adding, deleting, and modifying operations
safety The parameters are carried in the url, and the security is low Relative to GET request, higher security

 

Published 23 original articles · Like 11 · Visits 30,000+

Guess you like

Origin blog.csdn.net/weixin_42279584/article/details/102541297