;/api/v1/users/foo:bar&quot;,
    params: {id: 123},
})</code></pre>
<p>In the code above, the request becomes <code>GET /api/v1/users/foo:bar?id=123</code></p>
<hr>
<h3 id=aborting-requests><a href=#aborting-requests>Aborting requests</a></h3>
<p>Sometimes, it is desirable to abort a request. For example, in an autocompleter/typeahead widget, you want to ensure that only the last request completes, because typically autocompleters fire several requests as the user types and HTTP requests may complete out o