-
Seems like they return similar info, when/why should I use one or the other? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
from.createSignedUrl()Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds. https://supabase.io/docs/reference/javascript/storage-from-createsignedurl i think thats the main diference. |
Beta Was this translation helpful? Give feedback.
-
Hi @IHIutch, Both serve the same function of viewing the file. The main differences are
|
Beta Was this translation helpful? Give feedback.
-
@inian Quick question, what was the design choice behind having an expiry and token? |
Beta Was this translation helpful? Give feedback.
Hi @IHIutch,
Both serve the same function of viewing the file. The main differences are
anonKey
. If you quickly want to get a URL to your object, you can create a signed URL with a expiry and pass it around.