In the W3 specification it indicates that within the attributes of the label formis:
methodaccepts only verbs GETandPOST
While in the HTTP protocol, the verbs that represent specific actions on the data sent or received by the server are indicated.
We start then that it does not support such declarations natively, having only 2 verbs for the actions that are applied to a group of data.
However you will see that many backend frameworks support declaring the verb to use via directives.
For example in Laravel it is:
method('verbo')
However at the attribute level he formwill continue to require you to identify only GETOPOST
I recommend you read about the HTTP specification that covers the subject of verbs or methods which, if they have identified in a more clear way, the action they will request is executed to the URL that points to one or more servers.
In the W3 specification it indicates that within the attributes of the label
form
is:method
accepts only verbsGET
andPOST
While in the HTTP protocol, the verbs that represent specific actions on the data sent or received by the server are indicated.
We start then that it does not support such declarations natively, having only 2 verbs for the actions that are applied to a group of data.
However you will see that many backend frameworks support declaring the verb to use via directives.
For example in Laravel it is:
However at the attribute level he
form
will continue to require you to identify onlyGET
OPOST
I recommend you read about the HTTP specification that covers the subject of verbs or methods which, if they have identified in a more clear way, the action they will request is executed to the URL that points to one or more servers.