-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
I wonder why, when we upload multiple files, the request is like
files[]:[{....},{...}]
and not simply
files:[{....},{...}]
When I upload only one file everything works well but with multiple files I have troubles for selecting them in my back-end with multer or multiparty due to that special key. I can't select a key that contain special characters like [].
I tried to edit paramNamespace or paramName but that doesn't fix the problem.
With multer I have this error:
{"code":"LIMIT_UNEXPECTED_FILE","field":"files[]","storageErrors":[]}
When I reopen Uploader object and edit createFormData method to remove the [] in the key everything works well.
Am I the only one that encounter this problem?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels