0
嗨我在將文件上傳到box.net時收到internal server error
。將文件上傳到box.net時發生內部服務器錯誤
<form id="myForm" method="POST" enctype="multipart/form-data" action="https://upload.box.net/api/1.0/upload/<my_auth__token>/0">
<input type="text" id="keyword" /><br><br>
<input type="file" class="upload_file_input"/><br><br>
<input type="submit" value="Upload"/>
<input type="button" value="Reset"/>
</form>
我可以做一個帖子相同url.Can't搞清楚上傳鉻插件文件什麼用code.Please幫助的問題。
我得到的錯誤是這樣的:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
我給出了實際的auth_token.I已經用 –
vishesh
替換了它,只是排除了顯而易見的問題。 :) [API參考](http://developers.box.net/w/page/12923951/ApiFunction_Upload%20and%20Download)表明表單中可能缺少一些內容,包括字符編碼和名稱屬性在元素上。我不知道這些(和其他)是否是絕對必要的,但它可能值得一試。 –