Hello all,
I am working on a customized UI for interacting with my Cognos reports. I am trying to use the REST javascript API. I am running my code in an Eclipse environment accessing a remote Cognos development server. When attempting to access the server through any of the URLs, such as
https://cog10/cognos/cgi-bin/cognos.cgi/rds/auth/logon? The page returns document not found and the underlying error is :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
......
(Reason: CORS header 'Access-Control-Allow-Origin' missing).
I have been investigating CORS. I have added the CORS headers to my request but to complete that experiment the Cognos server needs to return a CORS header response. For WAS, that would seem to be creating a filter that augments the response and deploying it to the Cognos Liberty environment.
Any thoughts on this situation?
Thanks