I have an event handler where i use a superuser (logged inside the functions). I would like to read a file from storage where only this superuser has permission; so i have to download the file (i don’t find java download file functions) with REST API, but i am not able to retrieve superuser token from code.
Hi,
As I understood you use Android/Java Code Runner.
You have to login user and then you can leverage User Token Storage as described in https://backendless.com/documentation/users/android/users_login.htm
Artur
Ok, thanks i lot! it returned null because i didn’t login with “staylogged” options, now it works