title: How can I use Axios for watching progress on a long-running response?
body: <p>On my server, I'm launching a process whose results I keep writing in the response. When I'm done, I send 200. Accessing the URL directly via a browser, I see the text display gradually, line by line as I send it from the server.</p>
  <p>When doing Axios.get however (and as is normal given the function's name), I only get the bulk of text when Axios finally received 200. Is there any way, using Axios, to get &amp; print the response in chunks, as it receives it from the server?</p>
  <pre><code>Axios.get(backendURL + &quot;package/pios&quot;, {
    headers: { Authorization: &quot;Bearer &quot; + myToken },
  }).then((res) =&gt; {
    //Doing something only when the response ends. 
  });
  </code></pre>