rs&quot;)
console.log(&quot;list of users:&quot;, users)
// `users` is NOT a list of users, it&#39;s a promise

// PREFER
m.request(&quot;/api/v1/users&quot;).then(function(users) {
    console.log(&quot;list of users:&quot;, users)
})</code></pre>
<hr>
<small>License: MIT. &copy; Leo Horie.</small>
</section>
</main>
<script src=https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js defer></script>
<script src=https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/components/prism-jsx.min.js defer></s