NestJS(Axios) Upload File From One Server To Another

Da Feng
JavaScript in Plain English
3 min readJan 12, 2023

--

Sometimes, we need to get a file posted from the client side and want to re-send the file to another server. This is slightly different than when we write a front-end code, where FormData is a standard web API, and we can use it directly, while in Nodejs context, we need a library for it. Now, let’s dive into it and check how it works with an example!

Photo by Mark Harpur on Unsplash

Upload file from…

--

--

I am a software developer, write blogs about Typescript, Angular, React, vue, Front-end technologies, also share some of my life stories and good memories here.