选择'http put'或'http post' [英] Choosing 'http put' or 'http post'

查看:96
本文介绍了选择'http put'或'http post'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Why is 'Http Post' used for creating a new resource when same can be achieved using 'Http Put', even Put is idempotent over Post. Suggest reasons why Post is used. 





我的尝试:



正确实施HTTP Post和Put



What I have tried:

Correct implementation of HTTP Post and Put

推荐答案

谷歌,你不是吗?例如,请参阅: PUT与POST - 比较HTTP方法 - KeyCDN支持 [ ^ ]。
Did you Google, didn't you? See, for instance: PUT vs POST - Comparing HTTP Methods - KeyCDN Support[^].


这篇关于选择'http put'或'http post'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆