ajax 请求的时候 get 和 post 方式的区别?

get和post的区别
get请求不安全,post安全
get请求数据有限制,post无限制
get请求参数会在url中显示,容易被他人窃取,post在请求体中,不会被窃取
post需要设置请求头

猜你喜欢

转载自blog.csdn.net/weixin_42856661/article/details/81366546