方法列表
查找策略配置
admin
user
RPC
findEnabledHTTPHeaderPolicyConfig (FindEnabledHTTPHeaderPolicyConfigRequest) returns (FindEnabledHTTPHeaderPolicyConfigResponse)
HTTP
POST /HTTPHeaderPolicyService/findEnabledHTTPHeaderPolicyConfig
输入对象:FindEnabledHTTPHeaderPolicyConfigRequest:
输出对象:FindEnabledHTTPHeaderPolicyConfigResponse:
创建策略
admin
user
RPC
createHTTPHeaderPolicy (CreateHTTPHeaderPolicyRequest) returns (CreateHTTPHeaderPolicyResponse)
HTTP
POST /HTTPHeaderPolicyService/createHTTPHeaderPolicy
输入对象:CreateHTTPHeaderPolicyRequest:
{ }
输出对象:CreateHTTPHeaderPolicyResponse:
修改AddHeaders
admin
user
RPC
updateHTTPHeaderPolicyAddingHeaders (UpdateHTTPHeaderPolicyAddingHeadersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingHeaders
输入对象:UpdateHTTPHeaderPolicyAddingHeadersRequest:
输出对象:RPCSuccess:
{ }
修改SetHeaders
admin
user
RPC
updateHTTPHeaderPolicySettingHeaders (UpdateHTTPHeaderPolicySettingHeadersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicySettingHeaders
输入对象:UpdateHTTPHeaderPolicySettingHeadersRequest:
输出对象:RPCSuccess:
{ }
修改AddTrailers
admin
user
RPC
updateHTTPHeaderPolicyAddingTrailers (UpdateHTTPHeaderPolicyAddingTrailersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyAddingTrailers
输入对象:UpdateHTTPHeaderPolicyAddingTrailersRequest:
输出对象:RPCSuccess:
{ }
修改ReplaceHeaders
admin
user
RPC
updateHTTPHeaderPolicyReplacingHeaders (UpdateHTTPHeaderPolicyReplacingHeadersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyReplacingHeaders
输入对象:UpdateHTTPHeaderPolicyReplacingHeadersRequest:
输出对象:RPCSuccess:
{ }
修改删除的Headers
admin
user
RPC
updateHTTPHeaderPolicyDeletingHeaders (UpdateHTTPHeaderPolicyDeletingHeadersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyDeletingHeaders
输入对象:UpdateHTTPHeaderPolicyDeletingHeadersRequest:
输出对象:RPCSuccess:
{ }
修改非标的Headers
admin
user
RPC
updateHTTPHeaderPolicyNonStandardHeaders (UpdateHTTPHeaderPolicyNonStandardHeadersRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyNonStandardHeaders
输入对象:UpdateHTTPHeaderPolicyNonStandardHeadersRequest:
{ // Header策略ID int64 httpHeaderPolicyId; // 非标Header名称列表 []string headerNames; }
输出对象:RPCSuccess:
{ }
修改策略CORS设置
admin
user
RPC
updateHTTPHeaderPolicyCORS (UpdateHTTPHeaderPolicyCORSRequest) returns (RPCSuccess)
HTTP
POST /HTTPHeaderPolicyService/updateHTTPHeaderPolicyCORS
输入对象:UpdateHTTPHeaderPolicyCORSRequest:
输出对象:RPCSuccess:
{ }