Laravel solve cors issue
Laravel solve cors issue Create Cors.php file at app/Http/Middleware/Cors.php Open app/Http/Kernel.php file and add this in $middleware array and $routeMiddleware array. Close routes in middleware in routes.php click for more Laravel codes read about laravel middlewares