使用java在谷歌云商店上传文件

时间:2014-05-25 15:57:15

标签: java google-app-engine google-cloud-storage

我正在尝试使用Google应用引擎将文件上传到Google云端商店。我发现这个上传文件到GCS。在这些隐藏字段中,值已知。但我无法弄清楚什么是siganture,隐私和GoogleAccessId。请帮助我准备所有这些价值观的过程。我已阅读该文件,但无法理解和准备。

我是新主题。

<form action="https://******storage.googleapis.com" method="post" enctype="multipart/form-data">
    <input type="hidden" name="signature" value="****" />
    <input type="hidden" name="Content-Type" value="image/png" />
    <input type="hidden" name="GoogleAccessId" value="**********" />
    <input type="hidden" name="bucket" value="********" />
    <input type="hidden" name="acl" value="public-read">
    <input type="hidden" name="success_action_status" value="201" />
    <input type="file" name="file" />
    <input type="submit" value="Upload">
</form>

0 个答案:

没有答案