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区别的解释有点问题 #73

Open
yyihuan opened this issue May 29, 2019 · 0 comments
Open

感觉GET和POST区别的解释有点问题 #73

yyihuan opened this issue May 29, 2019 · 0 comments

Comments

@yyihuan
Copy link

yyihuan commented May 29, 2019

给出的第一个链接,只说了结构上,两者的功能可以相互通用,所以觉得大部分解释都是错的。但没讲实际上区别在哪里。
事实上,该文章下方评论124楼讲得更好。
个人理解。理论上,get、post、put的功能确实可以互通,但是约定上用法不同,导致服务器上的方法一般写得也会不同(自己硬要写个能互通的方法也可以,但不符合一般的习惯),使得实际使用时,就是不一样的。完全就是大部分地方解释的,GET获得数据,POST提交、创建数据、PUT修改数据。

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