Access-Control-Allow-Origin.

1850
4
09-12-2013 07:09 AM
YimanSong
New Contributor III
XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. Origin http://myserver is not allowed by Access-Control-Allow-Origin.

How can I fix this error? TIA
0 Kudos
4 Replies
JohnGravois
Frequent Contributor
please check out this thread for an answer to that question.
0 Kudos
StanMcShinsky
Occasional Contributor III

"this" link does not work.

0 Kudos
JeffJacobson
Occasional Contributor III

I've seen a lot of broken links from posts that predate the current GeoNet forums.

0 Kudos
MarlaKostuk
New Contributor III

Hi Yiman and Stan,

Please check out to the following threads, I believe that these are the ones John was referring to.

Access Control Allow Origin:

1. https://community.esri.com/thread/53724#post208466

2. https://community.esri.com/thread/53374#post207055

Thanks and hope this helps!

-Marla

0 Kudos