allowedMethods property

List<MethodName>? allowedMethods
final

Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.

Each CORS rule must contain at least one AllowedMethods and one AllowedOrigins element.

Implementation

final List<MethodName>? allowedMethods;