CORSRuleAddAllowedMethod Method |
添加一条AllowedMethod。
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntaxpublic void AddAllowedMethod(
string allowedMethod
)
Public Sub AddAllowedMethod (
allowedMethod As String
)
public:
void AddAllowedMethod(
String^ allowedMethod
)
member AddAllowedMethod :
allowedMethod : string -> unit
Parameters
- allowedMethod
- Type: SystemString
指定允许的跨域请求方法。 类型:GET,PUT,DELETE,POST,HEAD
See Also