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

feat: Add create and upload a signed url #8

Conversation

tranhoangvuit
Copy link
Contributor

What kind of change does this PR introduce?

We added two new functions for creating a signed upload URL and uploading to a signed URL.

What is the current behavior?

Refer to JS lib: supabase/storage-js#152

What is the new behavior?

Example:

resp, err := storage_go.CreateSignedUploadUrl("your-bucket-id", "book.pdf")

Response:

{ Url: "/object/upload/sign/First Bucket/book.pdf?token=token-from-supabase" }

Additional context

Add any other context or screenshots.

@tranhoangvuit tranhoangvuit self-assigned this Jul 31, 2023
@tranhoangvuit tranhoangvuit force-pushed the feat/add-method-for-signed-url-upload branch from 60d1727 to dfa4583 Compare August 7, 2023 14:57
@tranhoangvuit tranhoangvuit merged commit 880415e into supabase-community:dev Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant