ПРОЧТИ МЕНЯ
Parameters
photo1: file (binary)
Your user first photo [required]
photo2: file (binary)
Your user second photo [required]
email: string
Your user email [required]
group: string
You can categorize your users [required]
first name: string
Your user first name [optional]
Lastname: string
Your user last name [optional]
mobile: string
Your user phone number [optional]
Json Result
{
"statusCode":200,
"statusMessage":"OK",
"details":NULL,
"hasError":false,
"data":{
"personID":"585AF702-1A33-464B-9636-DE87E009F7D2"
}
}
> After calling the API, save the personID
field value to be used in the login step.
Login by face
The face login API allows the user to authenticate by sending the face and personID
. The parameters must be submitted in multipart form. The API is called by POST method.
###Parameters
photo: file (binary)
Your user photo [required]
personID: string (GUID)
Your unique user ID that you received from the Face Registration API. [required]
Json Result
{
"statusCode":200,
"statusMessage":"Login Successfully.",
"hasError":false,
"data":
{
"firstName":"",
"lastName":"",
"personId":"585af702-1a33-464b-9636-de87e009f7d2",
"isLogin":true
}
}
If the value of the isLogin
field is true
, the submitted image matches the registered user.