How to write multiple files in one field?

I use node.js and package form-data for sending data in format multipart/form-data
const formData = new FormData()
formData.append("photo", fs.createReadStream("./photo.jpg"))

In one field record multiple files, as well as in the browser when you use the multiple attribute of the form?
April 7th 20 at 15:23
1 answer
April 7th 20 at 15:25
Solution
formData.append("photo[]", fs.createReadStream("./photo.jpg"))

Find more questions by tags JavaScript