Node request module asynchronous request

  node.js, question

clipboard.png
As shown in the figure, I want to render an ejs page when accessing/developing, but render’s data comes from the return of a url, so I used the request module. because it is asynchronous, I nested it. In the innermost, render. But. The page cannot get the data. Log () is printable

clipboard.png

res.render();
 next();