#Add [Barryvdh\Cors\HandleCors] to $middlewareGroups in Kernel.php 'cors' => [ \Barryvdh\Cors\HandleCors::class, ],