# AntiAwsWafTask

Resolva este tipo de captcha.

## Tipo de tarefa

`AntiAwsWafTask`

## Síncrono ou consulta periódica

Síncrono: `/createTask` retorna o resultado

## Parâmetros

| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
| `type` | string | sim | `AntiAwsWafTask` |
| `websiteURL` | string | sim | Página de destino |
| `referrer` | string | não | Padrão derivado de websiteURL |
| `awsKey` / `awsIv` / `awsContext` | string | não | Os três ou nenhum |

## Solicitação mínima

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"AntiAwsWafTask","websiteURL":"https://www.example.com/page"}
}
```

## Solução em caso de sucesso

```json
{"token":"aws-waf-token=..."}
```

## Falhas comuns

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

Source: https://kaptra.ai/pt/docs/task-types/anti-aws-waf
