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
147900cookie-checkJavascript / browser Fetch Api