fetch example

PHOTO EMBED

Sat Oct 24 2020 16:58:33 GMT+0000 (Coordinated Universal Time)

Saved by @jlang

fetch('https://api.github.com/repos/nodejs/node/issues?per_page=5'{
  cache: 'reload'
})
  .then(function (response) {
    return response.json();
  })
  .then(function (data) {
    console.log(data);
  });
content_copyCOPY