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)
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more
Any IDOL component with an ACI port can be configured with:
[Service]
Access-Control-Allow-Origin=*
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):
https://www.microfocus.com/documentation/idol/IDOL_12_4/QMS_12.4_Documentation/Help/#Configuration/Service/_ACI_Access_Control_Allow_Ori.htm?TocPath=Configuration%20Parameters|Service|_____1
(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)