7
For some reason the Internet browsers (Chrome, Firefox, IE, ...) decided to only implement the GET and POST methods of the HTTP protocol.
Other methods such as PUT and DELETE were left out.
Why?
My doubt arose because from the official Ruby on Rails guide:
The Rails framework encourages Restful design of your Applications, which Means you’ll be making a Lot of "PATCH" and "DELETE" requests (Besides "GET" and "POST"). However, Most browsers don’t support methods other than "GET" and "POST" when it comes to submitting Forms.
How translated is:
The Rails framework encourages the use of rest standard in your applications, which means you will make several requests "PATCH" and "DELETE" (in addition to "GET" and "POST"). However, most browsers do not support methods other than "GET" and "POST" when using forms.
Obs.: so apparently, these methods are only not supported via tag <form>...</form>
.
I updated my question.
– user7261
I updated the answer :)
– carlosfigueira