mercredi 12 août 2020

Error in accessing laravel api routes (Blocked by CORS policy)

My laravel version is 5.6.40.When i am accessing laravel api, it says Access to XMLHttpRequest at from origin has been blocked by CORS policy. I tried barryvdh and fruitcake packages.But always pops up same error.Api is working fine in local machine but gets error from remote server. What is the solution?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire