//request is the module we'll be using to make network calls. //https://github.com/request/request import request from "request" function requestImage(imageUrl) { request(imageUrl, (err, response, body)=>{ const theImage = body; ///do something with the image }); }