I am using ember for front end and Lavarel for API back end.
The problem i am facing is, I have two api say "a" and "b".
I solved the problem "No 'Access-Control-Allow-Origin' header is present on the requested resource." with my API "a" by adding CORS to my Laravel project and adding the CORS middleware to my route.
But my another API "b" is also having the same issue even though i added the CORS middleware to route group.