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

253
Vistas
blocked by CORS policy but still POST request is performed, HOW?

I had a server running on localhost port 3000 using NodeJs.

There I had a database linked and had 2 basic POST methods (Create and Delete)*.

*(I had not written any extra checking for request headers)

I was curious to know if only client-side JS (with a dummy HTML page) can perform the deletion by itself!

I wrote THIS in the client-side js (in a separate directory )

After trying the POST Delete operation like this , I got this ERROR

But even though error was raised, the "Deletion Operation" was still performed succesfully and the data with the specific id was deleted!

My Question is "what exactly is blocked if it was not the deletion operation ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

With CORS, requests are never blocked on server-side. It will only instruct the browser to not send the requests if possible (with PRE-FLIGHT).

https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

about 4 years ago · Juan Pablo Isaza Denunciar
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