If you want to upload multiple files to your endpoint where the number of files differs every time, the best solution would be to split up your files and send them as separate HTTP requests as suggested here:
This way, the number of files shouldn’t matter.
Also, I’m not sure what you mean here:
but you should be able to reference the item’s index number with file_{{ $itemIndex }}:
hope that helps!
