Petición Ajax de localhost hasta el servidor en internet
Publicado por Jorge (16 intervenciones) el 05/04/2018 21:30:36
Buenas tardes, hago una petición POST via ajax, pero localhost parece no poder capturar la respuesta que da el response, en consola recibo el siguiente error:
Failed to load http://www.url.com/archivo.php: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
Failed to load http://www.url.com/archivo.php: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
Valora esta pregunta
0