Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试运行以下 curl 语句
curl --form file[]=@s1.png --form file[]=@s2.png http://api.website.com/upload.php
但我的upload.php 只收到s1.png。它没有得到 s2.png。为什么?
使用这个技巧
curl --form "file1=@s1.png" --form "file2=@s2.png" http://api.website.com/upload.php