Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to store metadata purely in s3 #6

Open
TimMikeladze opened this issue Aug 5, 2023 · 0 comments
Open

Figure out how to store metadata purely in s3 #6

TimMikeladze opened this issue Aug 5, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@TimMikeladze
Copy link
Owner

TimMikeladze commented Aug 5, 2023

When creating a post policy there is a function available to add metadata to the post policy then gets set on the stored object once the file is uploaded.

I have this flow currently working, however I am not able to figure out how to construct the PUT request that is sent to the post policy url.

I've tried sending metadata as headers or in the form request body, prefixing and not prefixing with the x-amz- headers.

All the approaches ended up in a rejected request.

If this is figured out then next-upload will be able to store metadata for uploaded files without requiring an asset store to be configured.

@TimMikeladze TimMikeladze added help wanted Extra attention is needed enhancement New feature or request labels Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant