Question

Does Spaces not support createPresignedPost? I can use it with AWS S3, but breaks with Spaces.

Hi,

It seems like createPresignedPost requires a policy for content-type. I’ve tried adding a content-type, but it still doesn’t work. Could you please provide a working example of how to use createPresignedPost with Spaces? I’m using the latest version of aws-sdk for NodeJS.

Also, an AWS employee stated on Github that createPresignedPost only works with V4 signatures (https://github.com/aws/aws-sdk-js/issues/1488#issuecomment-298054371). Is this confirmation that Spaces doesn’t support createPresignedPost?

Thanks.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Can you share some details of the configuration used or request sent and the response that you’re receiving from the Spaces API?