POST http://IP-address:port/firserver/FaceErrorDescriptions
POST http://127.0.0.1:10000/firserver/FaceErrorDescriptions
{
"FAILED_TO_ADD_PERSON": "Failed to add person. Check request parameters or database",
"FACE_NOT_FOUND": "Face not found on supplied image",
"MAXIMUM_FIRS": "Maximum FIR in database",
"SERVER_NOT_READY": "Server is initializing, please wait",
"FAILED_TO_DELETE_PERSON": "Failed to delete person. Check request parameters or database",
"FAILED_TO_ADD_PERSON_MANY_FACES": "The image shown has more than one face",
"FAILED_TO_SAVE_DATABASE": "Failed to save person. Check request parameters or database",
"FAILED_TO_UPDATE_PERSON": "Failed to update person. Check request parameters or database"
} |
| Headline | Headline description |
|---|---|
| Allow | Returns the HTTP method used in request |
| Content-Length | Shows the size of characters in bytes, received in the request |
| Content-Type | Returns the type of received request |
| Server | Specifies the server from which the request comes |
| Access-Control-Request-Method | Returns the HTTP method that can be used in the request |
| Access-Control-Origin | Indicates if the code that sends the request from this source can access the server response |
| Date | Shows the time of the request |
| Parameter | Parameter description |
|---|---|
| FAILED_TO_ADD_PERSON | Failed to add person. Check request parameters or database |
| FACE_NOT_FOUND | Face not found on supplied image |
| MAXIMUM_FIRS | Maximum FIR in database |
| SERVER_NOT_READY | Server is initializing, please wait |
| FAILED_TO_DELETE_PERSON | Failed to delete person. Check request parameters or database |
| FAILED_TO_ADD_PERSON_MANY_FACES | The image shown has more than one face |
| FAILED_TO_SAVE_DATABASE | Failed to save person. Check request parameters or database |
| FAILED_TO_UPDATE_PERSON | Failed to update person. Check request parameters or database |