0
我有以下的HTML表单:等效卷曲呼叫这个HTML表单
<form method="post" action="http://api.website.com/upload/index.php" enctype="multipart/form-data">
<input type="text" name="myhandle" />
<input type="file" name="file" />
<input type="submit" value="submit" />
</form>
什么是等效的卷曲呼叫如果我是击在Linux上?我想:
curl -X POST '-F [email protected] -d myhandle=helloworld' http://api.website.com/upload/index.php
但我不断收到此错误:
curl: (26) failed creating formpost data