You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
Hi, I am wondering if it is possible to POST an array of files in a single request? The server expects a field called files[] or just files that is supposed to be an array of files. Is it possible to do this in any way? I can only figure out how to post a single file.
I tried let files: AnyObject = [/* my HTTPFiles */] but that does not work, because array literal can't be used for AnyObject.
The files I am trying to upload is using multipart/form-data.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I am wondering if it is possible to POST an array of files in a single request? The server expects a field called
files[]
or justfiles
that is supposed to be an array of files. Is it possible to do this in any way? I can only figure out how to post a single file.I tried
let files: AnyObject = [/* my HTTPFiles */]
but that does not work, because array literal can't be used for AnyObject.The files I am trying to upload is using multipart/form-data.
Thank you.
The text was updated successfully, but these errors were encountered: