Face Verification

FREEMIUM
Verified
От PresentID | Обновлено 8 days ago | Visual Recognition
Популярность

9.5 / 10

Задержка

2,597ms

Уровень обслуживания

99%

Health Check

N/A

Назад ко всем обсуждениям

Upload Image64

Rapid account: Tofunmi 015
tofunmi015
3 years ago

i am getting this error message when sending my imagebase64 file to the api

{“statusCode”:452,“statusMessage”:“Upload Image File”,“hasError”:true}

what can i do?

Rapid account: Sandeep 01 Kr
sandeep01kr Commented 2 years ago

Hi
I am getting same error
this is sample code
imageData and strimage both have base64 sring

const settings = {
“async”: true,
“crossDomain”: true,
“url”: “https://face-verification2.p.rapidapi.com/faceverification”,
“method”: “POST”,
“headers”: {
“content-type”: “application/x-www-form-urlencoded”,
“x-rapidapi-host”: “face-verification2.p.rapidapi.com”,
“x-rapidapi-key”: “xyz”
},
“data”: {
“image1Base64”: imageData,
“image2Base64”: strImage
}
};

$.ajax(settings).done(function (response) {alert(1)
console.log(response);
});

Rapid account: Present ID
PresentID Commented 3 years ago

Are you sure you call the correct endpoint?
please give us your sample request!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии