CORS and Laravel
When doing some API work using Laravel as the REST server I was getting a common error "No 'Access-Control-Allow-Origin' header is present on the requested resource." which happens when the REST server is on a different domain than the client server.
I installed this package https://github.com/barryvdh/laravel-cors and it now works fine.
comments powered by Disqus