allowedMethods property
Which HTTP methods are allowed.
Defaults to POST, PUT, DELETE, and GET. Case-sensitive. In the specification (http://www.w3.org/TR/cors/), this is 'list of methods'.
Implementation
List<String> allowedMethods = [];
Which HTTP methods are allowed.
Defaults to POST, PUT, DELETE, and GET. Case-sensitive. In the specification (http://www.w3.org/TR/cors/), this is 'list of methods'.
List<String> allowedMethods = [];