Published in : 2022-08-03
I am facing a CROS error when i try to access Laravel API using the browser, but it's working fine when I test the API using Postman or Thunder Client, any thoughts How can i avoid CORS error with Laravel?
Join our community and get the chance to solve your code issues & share your opinion with usSign up Now
Mohamed Atef Date : 2022-08-03
You can control CORS configuration from /config/cors.php, it suppose to look like this
Make sure that the value of "allowed_origins" is * so it means Allow all
Jo Micheal Date : 2022-08-03
Thank you for your help