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

Unexpected end of input #34

Open
ramone02 opened this issue Jul 7, 2022 · 1 comment
Open

Unexpected end of input #34

ramone02 opened this issue Jul 7, 2022 · 1 comment

Comments

@ramone02
Copy link

ramone02 commented Jul 7, 2022

Buenas, estaba probando la api, la utilizo en un simple fetch, pero me sale este error?
Primero me saltaba error por el "cors", luego poniendole "no-cors", se soluciono
¿Que es lo que estoy haciendo mal? Intente buscar por mi cuenta pero no pude solucionarlo

Uncaught (in promise) SyntaxError: Unexpected end of input
fetch("https://api-dolar-argentina.herokuapp.com/api/dolarblue", {mode: "no-cors"}) .then((response) => console.log(response.json())); - asi es como la estoy utilizando

@Crismostto
Copy link

Buenas ! A mi me esta sucediendo lo mismo no estoy entiendo por que sucede :(

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

2 participants