Why await is not working for node request module?
<p>I'm new to nodejs. I’m not seeing the response in ex 1, but i see in ex 2. Why? Await works for me in other places, using babel.</p>

<p>Ex 1</p>

<pre><code> let res = await request(url)
 console.log(res);
 console.log(res.body);
</code></pre>

<p>Ex 2</p>

<pre><code>request(url, function (error, res, body) {
 if (!error &amp;&amp; response.statusCode == 200) {
 console.log(body) 
 }
});
</code></pre>

<p>Await works in other places, I’m using babel and required modules for es6 and es7 features. For example, await works in squelize call, i validated. But it doesn’t work for request call. Why?</p>