UNLOCK API
reportCorrect, reportIncorrect

reportCorrect, reportIncorrect

Segnala una risposta corretta o errata. Queste chiamate sono accettate perché le librerie esistenti continuino a funzionare; una segnalazione non cambia l'addebito.
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

Parametri della richiesta

clientKey
StringObbligatorio
La tua chiave API, 32 caratteri, dalla pagina account.
taskId
IntegerObbligatorio
L'id restituito da createTask.

Richiesta

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

Risposta

Successo
{
  "errorId": 0,
  "status": "success"
}

Campi della risposta

errorId
Integer
0 se la richiesta è andata a buon fine, 1 in caso contrario.
status
String
processing mentre il task è in risoluzione, ready quando è completato.

Esempi di codice

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

Errori che questo metodo può restituire

  • La chiave è errata. Copiala di nuovo dalla pagina account. (in.php e res.php: ERROR_WRONG_USER_KEY)