3 ms·
POST is for anything that isn't actually CRUD, too. http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-16#section-7.5 http://tools.ietf.org/html/draft-
by randallsquared 12y ago
POST is for anything that isn't actually CRUD, too.
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-16#section-7.5 http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-1...
PUT can be creation (not only POST), if you know the URI of the resource in question, but PUT implies that the submitted data should create or replace the resource at that URI, and in the case of a physical horn, this is impossible. I don't think you should ever be able to PUT to something that it's impossible, even in theory, to create with a PUT.