JavaScript: Upload to a signed URL

Upload a file with a token generated from createSignedUploadUrl.

Parameters

Examples

Upload to a signed URL

const \{ data, error \} = await supabase
  .storage
  .from('avatars')
  .uploadToSignedUrl('folder/cat.jpg', 'token-from-createSignedUploadUrl', file)