I'm having trouble with setting up CORS on my domain. My .htaccess on my root currently reads:
header add Access-Control-Allow-Origin *
Yet I still get:
XMLHttpRequest cannot load [external URL]. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '[my domain]' is therefore not allowed access.
How should I go about debugging this? I've tried adding "header add Access-Control-Allow-Origin *" to the .htaccess at root directory and the subdirectory that I'm calling the api from, but I'm still having the same problems.