In my current project, I have a JavaScript array structured as follows:
var items = [{
ID: "1"
count:'1',
File: (binary file)
},
{
ID: "2"
count:'2',
File: (binary file)
}
]
My goal is to retrieve the file input on the backend by utilizing multipart + formData. However, I am struggling to convert the list into the required format. Could someone please guide me on how to achieve this task successfully? Thank you in advance.