0

嗨,我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 来从 chrome 插件上传文件。无法弄清楚代码有什么问题。请帮忙。

我得到的错误是这样的:

Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, root@localhost 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. 
4

1 回答 1

0

在您的表单操作 URL 中,您有一个身份验证令牌占位符 <my_auth__token>。也许这永远不会被换成真正的代币?

于 2012-10-12T21:09:20.573 回答