[Feature request] Select multiple Multipart files in one parameter
See original GitHub issue- Insomnia Version: 6.6.2 (6.6.2.2932)
- Operating System: macOS Mojave 10.14.6 (18G87)
Details
I am trying to create a POST request with Multipart Form Body and uploading multiple files in the same key/value pair. Insomnia doesnt seem to allow me to select multiple files. I could successfully do it in another REST Client. Is this a limitation or am I doing it wrong?
Sample curl command :
curl -X POST \
<url> \
-H ‘cache-control: no-cache’ \
-H ‘content-type: multipart/form-data; \
-F =@<file1-location> \
-F =@<file2-location> \
-F =@<file3-location>
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Android Upload Multiple Files In A Single Request
I'm posting content to the server in a multipart/form-data request. and the data I'm posting contains multiple parameters including a file ...
Read more >Uploading and copying objects using multipart upload
Multipart upload allows you to upload a single object as a set of parts. Each part is a contiguous portion of the object's...
Read more >File Uploads and Multipart Requests
Under Parameters, click + Add Multipart Form Parameters. Name your file parameter (required), and click the dropdown next to it to select the...
Read more >File Upload
You can have several named file parameters, each defined individually: ... However, uploading an arbitrary number of files (an array of files) is...
Read more >Uploading multiple files - Manual
In HTML file upload fields, it is possible to upload an entire directory with the webkitdirectory attribute. This feature is supported in most...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To upload files in one variable
I think this might depend on the server-side technologies used. I’m using Express.js and multer to handle
multipart/form-data
requests. The only format that doesn’t induceMulterError: Unexpected field
is multiple entries with the same name without any brackets.