AnsweredAssumed Answered

Cors blocking calls to simple web services...workaround?

Question asked by Sjaak Overgaauw on Sep 21, 2016
Latest reply on Sep 27, 2016 by Sjaak Overgaauw

Customer has standard web service license, not API management including CORS. When we call a web service from a web page (POST Json file) , we get the following error:



I was wondering how to access simple web service without have the API management module. The following thread suggests you can solve this by returning a custom http header. No 'Access-Control-Allow-Origin' header is present on the requested resource. Error 


2 questions

  1. Does anyone has an example of the custom headers to include?
  2. Under the <setup><security> menu, I have entered the following but it doesn't seem to work. The domain is correct. What's the use of this?