CORS请求代理

image.png

charles -> Rewrite Set 中重写响应头:


image.png
image.png

image.png

image.png

image.png

Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, HEAD, OPTIONS
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Origin: https://aisite.wejianzhan.com 必须指定域名

你可能感兴趣的:(CORS请求代理)