await fetch("https://******?filename=amit.png", {
method: "POST",
params: {filename : "amit.png"},
headers: {
Authorization: "Basic *****",
"Content-Type": "image/jpeg"
},
body: feedbackData.photo.base64
})
in body i am passing base64 , the image which is showing on server is empty. i am missing some thing in body. please help.