Creates a signed upload URL. Signed upload URLs can be used to upload files to a bucket without further authentication. They are valid for 2 hours.
buckets permissions: noneobjects permissions: insertThe file path, including the current file name. For example folder/image.png.
If true, the signed URL allows overwriting an existing file at the path. Defaults to false.
final response = await supabase
.storage
.from('avatars')
.createSignedUploadUrl('folder/avatar1.png');
final response = await supabase
.storage
.from('avatars')
.createSignedUploadUrl(
'folder/avatar1.png',
upsert: true,
);