I am running angular app in front and slim in back end but when hit the api url in browser its not working but in postman its working fine thanks!
Note
i have followed every related posts out there in stack overflow but still i did not get any solution
Access to XMLHttpRequest at 'http://school_erp_api.dev/login' from
origin 'http://localhost:4200' has been blocked by CORS policy:
Response to preflight request doesn't pass access control check:
Redirect is not allowed for a preflight request.