Update 2019-07-12-pre-signed-get-and-post-for-digital-ocean-spaces.rst

This commit is contained in:
Russell Ballestrini 2019-07-27 13:08:48 -04:00 committed by GitHub
parent d2d1bf400c
commit 81aab107ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,5 +117,5 @@ The file never hits your server and is uploaded directly to the private Space.
for key, value in signed_post["fields"].items():
params.append('--form "{}={}"'.format(key, value))
print("curl " + " ".join(params) + ' --form "file=@production-namespaces.txt;filename=production-namespaces.txt" ' + signed_post["url"])
print("curl " + " ".join(params) + ' --form "file=@my-object2.zip;filename=my-object2.zip" ' + signed_post["url"])