最近搜索
没有最近搜索

fdfdsfds
已加入2021年4月15日
·
最后活动2022年2月14日
关注
0
关注者
0
活动总数
4
投票
0
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 fdfdsfds
fdfdsfds 创建了一个帖子,
I'm trying to send an ajax request to "example123.com".
requests: {
something: {
url: 'https://api.example123.com/something',
type: 'GET',
dataType: 'json',
cors: true,
xhrFields: {
withCredentials: true
},
headers: {
"Authorization": "123"
}
},
}
But I have an error:
XMLHttpRequest cannot load https://api.example123.com/something.
Response to preflight request doesn't pass access control check:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'https://mycompany.zendesk.com' is therefore not allowed access.
As I understand, I can't do anything about it because it's example123.com who has to allow Access Controll Allow Origin policy on their website, not me, right?
已于 2016年2月25日 发布 · fdfdsfds
0
关注者
4
投票
7
评论