# AntiAwsWafTask

求解该验证码类型。

## 任务类型

`AntiAwsWafTask`

## 处理方式

同步：`/createTask` 直接返回结果

## 参数

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiAwsWafTask` |
| `websiteURL` | string | yes | Target page |
| `referrer` | string | no | Defaults from websiteURL |
| `awsKey` / `awsIv` / `awsContext` | string | no | All three or none |

## 最小请求

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

## 成功 solution

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

## 典型失败

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

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