Pesquisas recentes
Sem pesquisas recentes

fdfdsfds
Entrou em 15 de abr. de 2021
·
Última atividade em 14 de fev. de 2022
Seguindo
0
Seguidores
0
Atividade total
4
Votos
0
Assinatura
1
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por fdfdsfds
fdfdsfds comentou,
I've built my own proxy server, but the error remains, whereas it shouldn't. Why?
Exibir comentário · Publicado 26 de fev. de 2016 · fdfdsfds
0
Seguidores
0
Votos
0
Comentários
fdfdsfds comentou,
Roman Sandler, I need whatever makes it work, which is sending an ajax request to an external, not mine own third-party server. What do you mean exactly? How might I not need CORS?
Exibir comentário · Publicado 26 de fev. de 2016 · fdfdsfds
0
Seguidores
0
Votos
0
Comentários
fdfdsfds criou uma publicação,
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?
Publicado 25 de fev. de 2016 · fdfdsfds
0
Seguidores
4
Votos
7
Comentários