CORB Error retrieving a json file

CORB Error retrieving a json file

I am trying to recover the data of a JSON file from the following address:


This is my code:

  1. var settings2 = {
  2.   "async": true,
  3.   "crossDomain": true,
  4.   "url": "http://www.armada.mde.es/ihm/Documentacion/Mareas/json/2018/bonanza/bonanza_2018-07-26.json",
  5.   "method": "GET",
  6.   "headers": {
  7.     "cache-control": "no-cache"
  8.   }
  9. };

and I get the result of the attach picture.

Some help to solve it? Thanks