Orders =
Total =
The extension will add the necessary HTTP headers for CORS:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: "GET, PUT, POST, DELETE, HEAD, OPTIONS"
Access-Control-Expose-Headers: "you can add values here"
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "Content-Type"
Header set Access-Control-Allow-Methods "GET"
For example, to set Access-Control-Allow-Origin header in Apache, just add
the following line inside either the Directory, Location, Files or VirtualHost sections:
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
The above line will allow Apache to accept requests from all other domains.