将文件上传到box.net时出现内部服务器错误

时间:2012-10-11 14:18:30

标签: box-api

您好,我在将文件上传到box.net时收到internal server error

<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>

我可以通过对同一个网址发帖来从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. 

1 个答案:

答案 0 :(得分:0)

在表单操作网址中,您有一个身份验证令牌占位符&lt; my_auth__token&gt;。也许这永远不会换成真正的令牌?

相关问题