HTTP 1.1 protocol includes 9 methods : GET, POST, PUT, DELETE and others.
At the same time HTML 5.1 assumes the use of only two of them in the forms : GET and POST:
The following are the keywords and states:
- The keyword
get, mapping to the state GET , indicating the HTTP GET method.- The keyword
post, the mapping to the state POST , indicating the HTTP POST method.
Why are the others not supported or used? What is the basis of this architectural solution?
In particular, if the logic of my application implies an idempotent deletion of an element, how and why should I choose between, by definition, non-idempotent POST and GET not appropriate in the sense?
Inspired by the discussion of the XSRF vulnerability response .
GETandPOSTfor forms . And it sounds like the rest of the methods cannot be used with HTML - Darth