Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

347
Vistas
Access to fetch at ___ from origin ___ has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

My Error is :

Access to fetch at 'https://cors.io/?{url}' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

It is third party API and I do not have access to the backend server.

My code is:

fetch('https://cors.io/?{url}',)
.then(response => {
    console.log(response);
})
.catch(err => {
    console.log(err);
});

How do I fix this problem ?

P.S. - The only work I can do is in the front end. I have no access to the backend server. Also I do not want a CORS Proxy or any third party library/code to act as proxy.

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda