[Openstack] [openstack][swift] formpost + tempurl question
Nguyen, Liem Manh
liem_m_nguyen at hp.com
Tue Jul 10 16:18:58 UTC 2012
Hi fellow Stackers,
For the HTML form POST in Swift, where would the signed temp url(s) go? At the swift-url level or at the file level? How do I specify it at the individual file level? A sample HTML form POST would be awesome!
<form action="<swift-url>" method="POST"
enctype="multipart/form-data">
<input type="hidden" name="redirect" value="<redirect-url>" />
<input type="hidden" name="max_file_size" value="<bytes>" />
<input type="hidden" name="max_file_count" value="<count>" />
<input type="hidden" name="expires" value="<unix-timestamp>" />
<input type="hidden" name="signature" value="<hmac>" />
<input type="file" name="file1" /><br />
<input type="file" name="file2" /><br />
<input type="submit" />
</form>
Thanks,
Liem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120710/83ad5453/attachment.html>
More information about the Openstack
mailing list