Answer the question
In order to leave comments, you need to log in
How to relay a file to another NodeJS server?
Hello, there are 2 servers on NodeJs.
1st server is used for user interaction.
2nd file storage server.
How can I relay this file to the second server after accepting a file from a user on the first server through the input using the POST method. where will it be stored, but when relaying add additional data to the file (name, save location, etc.)?
Maybe there are convenient libraries for working with files?
Answer the question
In order to leave comments, you need to log in
You can transfer the file via send
Edit (add meta attributes) via ffmetadata
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question