共用方式為


CorsPolicy.AllowedMethods Property

Definition

Gets or sets the methods (HTTP request verbs) that the origin domain may use for a CORS request.

[Newtonsoft.Json.JsonProperty(PropertyName="allowedMethods")]
public string AllowedMethods { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowedMethods")>]
member this.AllowedMethods : string with get, set
Public Property AllowedMethods As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to