API网关 APIG-跨域资源共享策略说明:脚本配置示例

时间:2023-11-01 16:20:44

脚本配置示例

{  "allow_origin": "*",  "allow_methods": "GET,POST,PUT",  "allow_headers": "Content-Type,Accept,Accept-Ranges,Cache-Control",  "expose_headers": "X-Request-Id,X-Apig-Latency",  "max_age": 86400,  "allow_credentials": true}
support.huaweicloud.com/usermanual-apig/apig_03_0021.html