API keys

Google reCAPTCHA

Verificación de secret key.

curl -X POST https://www.google.com/recaptcha/api/siteverify -H '"Content-Type", "application/x-www-form-urlencoded; charset=utf-8"' -d "secret=<secret-key>&response=test"
  • <secret-key> = secret key de Google reCAPTCHA.

Secret key no válida.

{
  "success": false,
  "error-codes": [
    "invalid-input-secret"
  ]
}

Secret key válida.

{
  "success": false,
  "error-codes": [
    "invalid-input-response"
  ]
}

Expresión regular.

6[0-9a-zA-Z_-]{39}

Última actualización