Why use PUT methods?
This question already has an answer here:
FROM RFC2616:
The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Request-URI. The URI in a POST request identifies the resource that will handle the enclosed entity. That resource might be a data-accepting process, a gateway to some other protocol, or a separate entity that accepts annotations. In contrast, the URI in a PUT request identifies the entity enclosed with the request -- the user agent knows what URI is intended and the server MUST NOT attempt to apply the request to some other resource.
链接地址: http://www.djcxy.com/p/7016.html上一篇: PUT,POST和PATCH有什么区别?
下一篇: 为什么使用PUT方法?