quot;GET&quot;,
    url: &quot;/api/v1/users&quot;,
})
.then(function(users) {
    console.log(users)
})</code></pre>
<p>A call to <code>m.request</code> returns a <a href=promise.html>promise</a> and triggers a redraw upon completion of its promise chain.</p>
<p>By default, <code>m.request</code> assumes the response is in JSON format and parses it into a JavaScript object (or array).</p>
<p>If the HTTP response status code indicates an error, the returned Promise will be rejected. Supplying an extract cal