Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I'm getting CORS Same origin error from elevation point service. Cross-Origin Request Blocked: The Same Origin Policy disallows reading

  • 2 replies
  • 1 has this problem
  • Last reply by FredMcD

more options

Works fine on Chrome and IE. I have some code that makes a request to . It's a service, so it should be allowed from their server.


           url: ""+coord[0]+"&y="+coord[1]+"?units=Feet&output=json",
           method: "GET",
   	}).then(successCallback, errorCallback);


All Replies (2)

more options

edit. It's crossOrigin:'anonymous'

more options

Chosen Solution