Hi everyone, I would like to ask for advice on which approach to use.
I have a dbsql on a remote server on which I should save jpg/png and pdf files.
Currently for all the other information I write and read I use a php script (I use okhttpUtils2). What do you recommend me to do? Because I read that converting a jpg to base64 would be too heavy, as would uploading the jpg or pdf file directly to the db. Is there a way to make loading and reading these files easier?
Could postmultipart be the right way?
Thank you all
I have a dbsql on a remote server on which I should save jpg/png and pdf files.
Currently for all the other information I write and read I use a php script (I use okhttpUtils2). What do you recommend me to do? Because I read that converting a jpg to base64 would be too heavy, as would uploading the jpg or pdf file directly to the db. Is there a way to make loading and reading these files easier?
Could postmultipart be the right way?
Thank you all