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