Hi all, I'm trying to poll data from the REST API, only I can't get that data because of an access-control-allow-origin header error. I've tried adding the appropriate xml data to the web config for both the inetpub and solarwinds web.config files, but I still see the error. Does anyone know where I should add the header info to talk Solarwinds into allowing the ajax request cross-domain?
I'm running IIS 7.5. I restarted the server after making the change below.
The information I added to the web.config file is below. (I would swap the "*" for a specific origin once I got this working.)
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type" />
</customHeaders>
</httpProtocol>
Any one have any ideas?