GET与POST请求方式的区别
基于的前提不一样区别就不一样
当没有前提时 这俩个的没啥区别名字不一样
基于RFC规范时
理论上:
get用来取数据
post用来发送数据
实现上
get数据在url中显示 post不显示
get对长度有限制 post无限制
get可以收藏为书签 post不可以
get请求后返回无刷新 post数据会被重新提交
编码类型不同 get请求 application/x-www-form-url post有很多种编码
get请求数据会保存到浏览器 post不会
get请求只允许ASC II post无限制 允许2进制