UNLOCK API
reportCorrect, reportIncorrect

reportCorrect, reportIncorrect

Signale une réponse correcte ou incorrecte. Ces appels sont acceptés pour que les bibliothèques existantes continuent de fonctionner ; un signalement ne modifie pas le montant facturé.
POSThttps://unlock-api.com/reportIncorrectImageCaptcha
POSThttps://unlock-api.com/reportIncorrectRecaptcha
POSThttps://unlock-api.com/reportIncorrectTokenCaptcha
POSThttps://unlock-api.com/reportCorrectRecaptcha
POSThttps://unlock-api.com/reportIncorrect
POSThttps://unlock-api.com/reportCorrect

Paramètres de la requête

clientKey
StringObligatoire
Votre clé API, 32 caractères, depuis la page de compte.
taskId
IntegerObligatoire
L'id renvoyé par createTask.

Requête

POST /reportIncorrectImageCaptcha
{
  "clientKey": "YOUR_API_KEY",
  "taskId": 1001
}

Réponse

Succès
{
  "errorId": 0,
  "status": "success"
}

Champs de la réponse

errorId
Integer
0 si la requête a réussi, 1 sinon.
status
String
processing pendant la résolution de la tâche, ready quand elle est terminée.

Exemples de code

curl -s https://unlock-api.com/reportIncorrectImageCaptcha \
  -H "Content-Type: application/json" \
  -d '{"clientKey":"YOUR_API_KEY","taskId":1001}'

Erreurs que cette méthode peut renvoyer

  • La clé est incorrecte. Copiez-la de nouveau depuis la page de compte. (in.php et res.php : ERROR_WRONG_USER_KEY)