Wednesday, 17 May 2017

How to send image from nodejs backend to other server?

I need to "simulate" client behavior and "upload" image from nodejs backend to other server.

I tried to use new FormData().append('', file); but I get FormData is undefined. Also, I don't know how to build mutlipart request using axios.

Does anybody encounter this problem?

Thanks!



via Alex Fux

No comments:

Post a Comment