Store the Image taken from the Camera or Phone Gallery to Database


I am trying to store the image taken from the Camera or from the Phone Gallery to the Database.

The image base64 string is successfully returned. I used this forum for reference and trying to implement the last message in the forum

Following are the screenshots of my implementation:

Image returned and passed into the upload function

Upload Image Service function

The upload service is returning error message. Please help.
1 person has
this problem