cors access-control-allow-origin code example
Example 1: access-control-allow-origin htaccess
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin *
</IfModule>
Example 2: access-control-allow-origin
Access-Control-Allow-Origin: *
Example 3: allow cross origin
Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: <origin>
Access-Control-Allow-Origin: null
Example 4: header access-control particular domain
Access-Control-Allow-Origin: http://siteA.com