Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. #54

Open
juanamm opened this issue Jul 9, 2020 · 0 comments

Comments

@juanamm
Copy link

juanamm commented Jul 9, 2020

I know this API is discontinued, but I would need help with CORS blocking.
I tried disabling CORS in the browser with the extension "CORS unblock" and this way I get status 502 or 504.
I use XMLHttpRequest GET in javascript (until a few days ago it worked fine).
If I run it directly in a browser it gives me an error: 503 Service Temporarily Unavailable or it takes a long time and gives time out!
https://api.vagalume.com.br/search.php?art=U2&mus=one&apikey=xxxxxxxxxxx
I have generated another key thinking that the problem is that but it does not work.
He looked at other sites and he saw that it didn't work either.
Anyone know of an alternative to this API that I can share?

=====================

Eu sei que essa API foi descontinuada, mas eu precisaria de ajuda com o bloqueio do CORS.
Tentei desabilitar o CORS no navegador com a extensão "CORS unblock" e, dessa forma, recebo o status 502 ou 504.
Eu uso XMLHttpRequest GET em javascript (até alguns dias atrás, funcionou bem).
Se eu executá-lo diretamente em um navegador, ocorre um erro: 503 Service Temporarily Unavailable ou leva muito tempo e dá tempo limite
https://api.vagalume.com.br/search.php?art=U2&mus=one&apikey=xxxxxxxxxxx
Eu criei outra chave pensando que o problema é esse, mas não funciona.
Ele olhou para outros sites e viu que também não funcionava.
Alguém conhece uma alternativa para essa API que eu possa compartilhar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant