      return atomic(&#39;https://jsonplaceholder.typicode.com/postses/&#39; + response.data[0].id);
    })
    .then(function (post) {
        console.log(&#39;first post&#39;, post.data);
    })
    .catch(function (error) {
        console.log(&#39;error code&#39;, error.status); // xhr.status
        console.log(&#39;error description&#39;, error.statusText); // xhr.statusText
    });
</code></pre>
<h2 id="canceling-a-request">Canceling a Request</h2>
<p>In order to work, you must set your <code>atomic()