I am making an application with angular and backend as laravel but when I hit the api, I get "No 'Access-Control-Allow-Origin' header is present on the requested resource" and I am able to solve this issue and here I sharing that and hope it will help others.
Thank you
Therichpost
Top comments (2)
Hi there, you can check out this package: github.com/barryvdh/laravel-cors.
I personally use it to solve this problem too.
nice