이 유형의 캡차를 해결합니다.
작업 유형
AntiAwsWafTask
동기식 또는 폴링
동기식: /createTask에서 결과 반환
매개변수
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
type |
string | 예 | AntiAwsWafTask |
websiteURL |
string | 예 | 대상 페이지 |
referrer |
string | 아니요 | 기본값은 websiteURL에서 가져옴 |
awsKey / awsIv / awsContext |
string | 아니요 | 세 개 모두 제공하거나 모두 생략 |
최소 요청
{
"clientKey": "YOUR_API_KEY",
"task": {"type":"AntiAwsWafTask","websiteURL":"https://www.example.com/page"}
}성공 결과
{"token":"aws-waf-token=..."}일반적인 실패
ERROR_CAPTCHA_UNSOLVABLE, ERROR_BAD_REQUEST, ERROR_TASK_NOT_SUPPORTED