be useful to inspect a server response in more detail and process it manually. This can be accomplished by passing a custom <code>options.extract</code> function:</p>
<pre><code class=language-javascript>m.request({
    method: &quot;GET&quot;,
    url: &quot;/api/v1/users&quot;,
    extract: function(xhr) {return {status: xhr.status, body: xhr.responseText}}
})
.then(function(response) {
    console.log(response.status, response.body)
})</code></pre>
<p>The parameter to <code>options.extract</code> is the 