Can't send POST request with multiple files
See original GitHub issueI’m trying this:
http -f POST http://localhost:8000/products/images files\[\]@B497A_1.jpg files\[\]@B497A_2.jpg
But the request only contains the last file.
Do we have support for multiple files yet?
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Cannot post multiple files - Stack Overflow
So... you have a multipart.Fileheader. First you try to use it as a byte stream (which it is not) and it fails. Then...
Read more >Can't send POST request with multiple files · Issue #267 - GitHub
I'm trying this: http -f POST http://localhost:8000/products/images files\[\]@B497A_1.jpg files\[\]@B497A_2.jpg But the request only ...
Read more >File Uploads - Django documentation
POST or request.FILES – it doesn't make sense to change upload handlers after upload handling has already started. If you try to modify...
Read more >Uploading multiple files - Manual - PHP
Example #1 Uploading multiple files. <form action="file-upload.php" method="post" enctype="multipart/form-data"> Send these files:<br /> <input ...
Read more >Create a file request - Microsoft Support
People you request files from can only upload files; they can't see the content ... All the files sent to you are saved...
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 FreeTop 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
Top GitHub Comments
@wordyallen
(Please create a new issue if you are still having an issue with the syntax.)
Is this working for you ?
For me this syntax is working :
http -f :3090/api/lots photos[]@200.png photos[]@300.png