0

I want to retrieve data from a JSON file whose URL is

http://35.163.112.218:8080/profiles?account=xxxx&profile=xxxx 

I try to to access the data using AJAX on my local XAMP server. I am getting this error:

XMLHttpRequest cannot load http://35.163.112.218:8080/profiles?account=xxxx&profile=xxxx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

How can I solve this?

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Farrukh Zaman
  • 49
  • 1
  • 9

0 Answers0