Conexion react mysql error cors
Publicado por rosmilton (4 intervenciones) el 11/02/2021 17:46:17
Hola grupo tengo un problema con la conexion del api para mysql(xampp) y react, da un error:
Crear:1 Access to XMLHttpRequest at 'http://localhost/Layapa/' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Adjunto codigos
Crear:1 Access to XMLHttpRequest at 'http://localhost/Layapa/' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Adjunto codigos
- programa.zip(2,1 MB)
Valora esta pregunta


0