Using API from another domain

Using API from another domain

Hi,

I want to use the SupportCenter+ API for updating requests using jQuery AJAX calls from our intranet server. However, I get messages such as 

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://subdomain.mycompany.com' is therefore not allowed access.
I have read that to allow cross-domain ajax calls, it is required to add 
<IfModule mod_headers.c>
   Header add Access-Control-Allow-Origin: "http://subdomain.mycompany.com"
</IfModule>
to the .htaccess file.
My question is: Where and how do I do this? The restful api is served through JBoss, isn't it?
Thanks!
                New to ADManager Plus?

                  New to ADSelfService Plus?