Get and POST requests
1,get: After the request URL? The form is followed by the parameters sent to the server, with multiple parameters separated by &, such as Http://ww.test.com/login?username=123&pwd=234&type=JSON
* Note: Due to browser and server restrictions on URL length, the parameters that accompany the URL are limited and usually cannot exceed 1KB
2,pos: The parameters sent to the server are all placed in the request body, in theory, the amount of data delivered by the post is not limited (depends on the server processing power)
Selection of Get and post
* Select the Get and post suggestions
1) If you want to pass large amounts of data, such as uploading files, you can only use POST requests
2) Get security is worse than post, if it contains confidential \ Sensitive information, it is recommended to use post
3) If you only request data (data query), we recommend the use of Get
4) If you are adding, modifying, or deleting data, it is recommended to use post
HTTP protocol-02