I have an API that stores the image in the database.
"https://www.induskargha.com/index.php/api/upload-video" this is my API.
I should have to use the camera plugin to get the image from the gallery or directly from the camera. When I am using this plugin, it returns me either the base64 or the FILE_URL or the NATIVE_URl. When I am passing any of the three to the API, then API saves the image to null, But when I am using the API in the postman, it works well.
parameter for the API:-
image: ImageData(file), type: 'image',(string) name: 'user's name'(string, mobile: 4635643732, (number), artistType: 'artisans' (string)
PLEASE HELP ME. I am stuck in this problem for the past 5 days.