Source: theoneamin.medium.com

CORS problem: Laravel- Vue SPA

Category: Laravel, Laravel, PHP, PHP, api, api

We think you might be interested in this job:

Sign in theoneamin 1 day ago· 1 min read So I was recently working on a project where I had a Vue application on the front-end and Laravel in the backend. I was testing the API on different browsers, everything was working perfectly on chrome and when I used Firefox, CORS errors started kicking in. I thought the problem was with Laravel and so I attempted making all kinds of changes to config/cors.php but nothing was solved. Then I saw this post https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSDidNotSucceedAboutWriteHelpLegal
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners