http request get requests can be cached and non-cached post requests

GET requests Back / Refresh harmless, POST back / refresh will lead to resubmit the data.

GET bookmark collections can be, POST can not be bookmarked favorites.

GET can be cached, POST can not be cached.

GET coding type application / x-www-form-url, POST common coding type encodedapplication / x-www-form-urlencoded or multipart / form-data.

GET parameters remain in the history of the browser history, POST parameters are not saved in the browser history.

GET restrictions (url limit 2048 characters) of data length, POST unlimited.

GET allows only ASCII characters, POST is no limit, also allows binary data.

Reproduced in: https: //my.oschina.net/artong999/blog/3058555

Guess you like

Origin blog.csdn.net/weixin_33691700/article/details/92042691