We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jQuery]
The text was updated successfully, but these errors were encountered:
相同点:都是异步请求的方式来获取服务端的数据; 异同点: 1、请求方式不同:$.get() 方法使用 GET 方法来进行异步请求的。$.post() 方 法使用 POST 方法来进行异步请求的。 2、参数传递方式不同:get 请求会将参数跟在 URL 后进行传递,而 POST 请 求则是作为 HTTP 消息的实体内容发送给 Web 服务器的,这种传递是对用户不可 见的。 3、数据传输大小不同:get 方式传输的数据大小不能超过 2KB 而 POST 要大 的多 4、安全问题: GET 方式请求的数据会被浏览器缓存起来,因此有安全问题。
Sorry, something went wrong.
No branches or pull requests
[jQuery]
The text was updated successfully, but these errors were encountered: