Hi, currently i have a javascript program hosting in my server eg www.aaa.com need to access the ROServer located at www.bbb.com/json.
I am facing the CORS problem and would like to check how to enable the CORS in ROServer. Below is the error message from google chrome:
XMLHttpRequest cannot load http://bbb:8090/json. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://aaa.com’ is therefore not allowed access.
in my javascript apps, i have below setting for all my ajax. it is due to my API server required send in x-token for every single request. Since i am using the same apps to connect to ROServer, that is why the same header also send by ajax when consume the ROServer.
Thank you for the issue explanation. It is caused by a header not present in the standard headers set being allowed by the default CORS response.
We’ll improve the CORS management API to allow custom sets of headers to be returned for CORS requests.
Please send a mail to support@ with your account name so we’ll provide you a Beta or pre-Beta build once the issue is fixed.