joseshirley84

Origin is not allowed by Access-Control-Allow-Origin.

Discussion created by joseshirley84 on Nov 7, 2013
Latest reply on Nov 11, 2013 by DSwingley-esristaff
I'm using  https://server.arcgisonline.com rest service in an application.But it shows the below error in the console.
XMLHttpRequest cannot load https://server.arcgisonline.com/ArcGIS/rest/info?f=json. Origin http://localhost:8080 is not allowed by A
ccess-Control-Allow-Origin.
I read various post but couldn't find a solution.
Can you provide a solution to fix this error?

Outcomes