V
V
Vitaly2019-08-14 16:31:07
Node.js
Vitaly, 2019-08-14 16:31:07

How to get stream after post request?

I'm trying to make through

axios.post(
      apiUrl,
      form,
      {
        responseType: 'stream',
      },
    );

but for some reason this method only works on the node engine, and the browser waits for a response and returns the stuck text.
How to get an object of type Stream?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question