// GET Request. fetch('https://api.github.com/users/rich-harris') // Handle success .then(response => response.json()) // convert to json .then(json => console.log(json)) // print data to console .catch(err => console.log('Request Failed', err)); // Catch errors