Agregue el encabezado de accesorio-control-aligina
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: *');
header('Access-Control-Allow-Headers: *');
Crazy Capybara