AnsweredAssumed Answered

REST endpoint CORS enabled test?

Question asked by mtdave on Jan 13, 2014
Latest reply on Jan 15, 2014 by jacobsj
What I would like to do it have a test for determining if a REST endpoint is CORS enabled, if it is then add the domain to the corsEnabledServer array and if not then do something else, like use the proxy page. Does anyone know of a good function for testing for CORS? It seems like this should be a method in the ArcGIS Javascript API.

Thanks, Dave