When applied to an action, it restricts the action to only requests made with that particular HTTP verb, i.e., GET or POST. Even if a different type of request than specified comes in that would match based on the name and signature, it won't match because the request type is not allowed.
When applied to an action, it restricts the action to only requests made with that particular HTTP verb, i.e.,
GET
orPOST
. Even if a different type of request than specified comes in that would match based on the name and signature, it won't match because the request type is not allowed.