更新时间:2022-03-03 22:46:24
jQuery代码中没有问题这是因为您提出了跨域请求。尝试以这种方式使用 https://www.***.com/watch?v=EPSjxg4Rzs8
there is no issue in jQuery code this is because you made a cross origin request. try to use in this way https://www.***.com/watch?v=EPSjxg4Rzs8
如何使用 Windows Store 应用程序中的 json 网络服务向 HTTP 标头发送请求
使用 Ajax 向 http 请求添加 CORS 标头
如何使用js或jQuery向ajax请求添加自定义HTTP标头
向所有 jQuery AJAX 请求添加自定义 http 标头
如何使用 js 或 jQuery 向 ajax 请求添加自定义 HTTP 标头?