Bowker Contributor.

Setting cors headers on results

Is there a way to have QMS return a header such as this?

Access-Control-Allow-Origin: *

This is for a normal search request not for the admin control (/action=query)



1 Reply
Micro Focus Contributor
Micro Focus Contributor

Re: Setting cors headers on results

Any IDOL component with an ACI port can be configured with:



And will respond to an HTTP request (to any of its ACI, Service or Index ports) including an acceptable Origin header with a response header:

Access-Control-Allow-Origin: <origin>

Documentation link (for QMS, but in every component):


(You may have seen this already and dismissed because it talks about the Admin interface, but it applies to every request sent to the server)

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.