title: axios response.blob is not a function
body: <p>I am trying to pass a blob with the type of &quot;image/jpeg&quot; from nodeJS to react. In the nodejs end, I pass the data using arraybuffer and on the react end, I try to retrieve it using res.blob which should usually convert the data back. The thing is axios is returning an error saying res.blob() is not a function. How do I retrieve it in the react end then? Any response will be most appreciated and I apologize if I haven't described my issue well enough.</p>
  <p>This is my code in nodejs</p>
  <pre><code>  res.type(blob.type);
    blob.arrayBuffer().then((buf) =&gt; {
      res.end(Buffer.from(buf));
    });
  </code></pre>
  <p>And this is my code in react.</p>
  <pre><code>    axios
      .post(imageUrl)
      .then((res) =&gt; {
        return res.blob();
      })
      .then((blob) =&gt; {
        storageRef
          .child(path + filename)
          .put(blob)
          .then(function (snapshot) {
            return snapshot.ref.getDownloadURL();
          })
  </code></pre>