cors

Implementing cross-origin resource sharing (CORS) using middleware in CakePHP…

I worked on a project recently where I had to allow XMLHttpRequests from a different domain. I initially thought about adding the necessary Access-Control headers...
Akinwale
57 sec read