rfc2068 - usage of PUT & POST in Rest
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 may 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. If the server desires that the request be applied to a different URI, it MUST send a 301 (Moved Permanently) response; the user agent MAY then make its own decision regarding whether or not to redirect the request.
[via w3.org/Protocols/rfc2068]
links:
http://www.markbaker.ca/2002/08/HowContainersWork/
http://www.xml.com/pub/a/2004/12/01/restful-web.html
[via w3.org/Protocols/rfc2068]
links:
http://www.markbaker.ca/2002/08/HowContainersWork/
http://www.xml.com/pub/a/2004/12/01/restful-web.html
matthias - 21. Apr, 09:44
0 comments - add comment - 0 trackbacks








