Error de CORS si usamos el modo: "no-cors" entonces no pasa nada
Código:
fetch( "http://url") .then(function (response) { if (!response.ok) { throw new Error("HTTP error, status = " + response.status); } return response.json(); }) .then(function (json) { console.log(json); }) .catch(function (error) { console.log("Error: " + error.message); });