The following error occurred at the front end access:
Access to XmlhttpRequest at ‘http: // localhost: 8000 / API / SLIDESHOW’ from Origin ‘http: // Localhost: 8080 ‘Has Been Blocked by Cors Policy: No’ Access-Control-Allow-Origin ‘Header IS Present on The Requested Resource.
Installation . CORS Middleware for Laravel (fruitcake / laravel-cors)
The laravel-cors package allows you to send Cross-Origin Resource Sharing headers with Laravel middleware configuration
https:. / /Github.com/fruitcake/laravel-cors