Unable to Upload the image using Api Express

Hi,

I am using camera service to take the picture. After taking the picture, i can show it in the image tag on the screen.

The problem I am facing is that when i try to upload the image as a blob using Api Express i am unable to upload getting the below error.



I am following this tutorial https://docs.appery.io/docs/database-...

Though i can successfully get the image from database converting using the below statement suggested by "Max Katz" in one of the problem shared by user on this website, not from the above tutorial on which btoa(value) function has been used (return "data:;base64," + btoa(value); ).

return "data:;base64," + value;

Below is the screenshot attached, while getting the image from the database which is working fine.

1 person has
this problem
+1
Reply