https://supabase.com/ logo
#help
Title
# help
b

Bicijay

04/02/2022, 5:37 PM
Hey guys, im trying to use a lib from Expo, which can upload files to a URL in the background, but it only accepts an endpoint using POST. Is there any way i could upload a file to supabase storage via URL and not the supabase client?
n

Needle

04/02/2022, 5:37 PM
Hello @Bicijay! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
s

sylar815

04/02/2022, 5:47 PM
React native?
n

Needle

04/02/2022, 5:47 PM
Zé (2022-04-02)
s

sylar815

04/02/2022, 5:48 PM
Supabase js library should work out of the box, any reason you are using the expo lib?
g

garyaustin

04/02/2022, 5:50 PM
https://supabase.github.io/storage-api/#/ You have to make sure to include an authorization header with bearer [token]
b

Bicijay

04/02/2022, 6:05 PM
Yep, react native but im trying to use a lib that upload files on background (when the app is closed). This lib does not accept custom upload methods (calling the supabase client), it only accepts a destination URL
thats perfect @User , thank you!
s

sylar815

04/02/2022, 6:47 PM
👍👍
n

Needle

04/02/2022, 8:15 PM
Thread was archived by . Anyone can send a message to unarchive it.