Javascript / browser Fetch Api

fetch('http://example.com/movies.json')
  .then(function(response) {
    return response.json();
  })
  .then(function(myJson) {
    console.log(JSON.stringify(myJson));
  });

For more: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

14790cookie-checkJavascript / browser Fetch Api