How can I upload a file via curl with getPresignedUrl
?
#2625
justinmchase
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the s3 request signer to support uploading files, I'm doing nearly exactly what the example in the docs here shows except using PutObjectCommand instead:
How can I then take that URL and use it via curl?
I'm doing this:
But it doesn't work, I get an error:
Here is an example URL its creating:
I've confirmed my config works, I'm able to connect to minio using the normal api methods such as
listBuckets
. But I just can't seem to figure out how to use the presigned urls. I'm not sure if this is a bug here or just a problem with the way I'm using it.Any help would be immensely appreciated.
NOTE: I'm swapping
minio:9000
withlocalhost:9000
so its callabale from my localhost but I"m sending in the originalHost: ${host}
as a header.Beta Was this translation helpful? Give feedback.
All reactions