Support CORS - API
Posted: 10 Mar 2014 11:42
Hey,
I noticed that CORS seems not to be supported so in chrome you get Access Origin Resource Sharing issues.
It can be solved with setting these headers:
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); .. etc..
Is it possible to support CORS in anyway?
I like to run the web on another server
I noticed that CORS seems not to be supported so in chrome you get Access Origin Resource Sharing issues.
It can be solved with setting these headers:
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); .. etc..
Is it possible to support CORS in anyway?
I like to run the web on another server