This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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)

 

 

  • 0  

    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)