# AntiCloudflareTask

求解該驗證碼類型。

## 任務類型

`AntiCloudflareTask`

## 處理方式

非同步 + 輪詢 `/getTaskResult`

## 參數

| 欄位 | 類型 | 必填 | 說明 |
|---|---|---|---|
| `type` | string | 是 | `AntiCloudflareTask` |
| `websiteURL` | string | 是 | 受保護的頁面 |
| `proxy` | string | 否 | 瀏覽器代理伺服器 |

## 最小請求

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

## 成功時的 solution

```json
{"cookies":"...","token":""}
```

## 典型失敗

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

Source: https://kaptra.ai/zh-TW/docs/task-types/anti-cloudflare
