Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
 "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"
}

Response headlines:

Headline

Headline description

AllowReturns the HTTP method used in request
Content-LengthShows the size of characters in bytes, received in the request
Content-TypeReturns the type of received request
ServerSpecifies the server from which the request comes
Access-Control-Request-MethodReturns the HTTP method that can be used in the request
Access-Control-OriginIndicates if the code that sends the request from this source can access the server response
DateShows the time of the request

Response parameters:

ParameterParameter description
FAILED_TO_ADD_PERSONFailed to add person. Check request parameters or database
FACE_NOT_FOUNDFace not found on supplied image
MAXIMUM_FIRSMaximum FIR in database
SERVER_NOT_READYServer is initializing, please wait
FAILED_TO_DELETE_PERSONFailed to delete person. Check request parameters or database
FAILED_TO_ADD_PERSON_MANY_FACESThe image shown has more than one face
FAILED_TO_SAVE_DATABASEFailed to save person. Check request parameters or database
FAILED_TO_UPDATE_PERSONFailed to update person. Check request parameters or database

...