fetch(‘https://wwww.baidu.com‘, {headers: { "Access-Control-Allow-Origin": "*", ‘Access-Control-Allow-Methods‘: ‘GET, POST, PATCH, PUT, DELETE, OPTIONS‘, ‘Access-Control-Allow-Headers‘: ‘Origin, Content-Type, X-Auth-Token‘}})
原文地址:https://www.cnblogs.com/huashiyiqike/p/10592937.html
时间: 2024-10-13 21:44:45