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 |