Face Verification

フリーミアム
よって PresentID | 更新済み 15 дней назад | Visual Recognition
人気

9.5 / 10

レイテンシー

2,733ms

サービスレベル

99%

Health Check

N/A

すべてのディスカッションに戻る

Upload Image64

Rapid account: Tofunmi 015
tofunmi015
3 года назад

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 года назад

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 года назад

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿