Answer the question
In order to leave comments, you need to log in
Why are items with api not returned?
Hi all! Such a problem. EMber sends a request but cannot receive a response. As I understand it, access to third-party applications is apparently not allowed. How to resolve it?
XMLHttpRequest cannot load http://my-api/items. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.
Answer the question
In order to leave comments, you need to log in
Fixed. Who cares about the solution - en.vedovelli.com.br/2015/web-development/Laravel-5...
I think this package will solve your problem: CORS Middleware for Laravel 5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question