Skip to content
New issue

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

网络:get和post的区别 #14

Open
Chenjiayuan195 opened this issue May 26, 2020 · 1 comment
Open

网络:get和post的区别 #14

Chenjiayuan195 opened this issue May 26, 2020 · 1 comment

Comments

@Chenjiayuan195
Copy link
Owner

No description provided.

@Chenjiayuan195
Copy link
Owner Author

Chenjiayuan195 commented May 26, 2020

1.get的数据是通过url发送的,post是通过request body发送的
2.get请求相对来说风险会大一点并且有长度限制 一般为64k
3.get只发送一次TCP,post是先发送header --->返回100--->request body--->200(firefox一次)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant