且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用js或jQuery向ajax请求添加自定义HTTP标头

更新时间: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