ShopeeSliderWebTask

Captcha Shopee là một loại hình ảnh xác thực phổ biến trông giống như thế này

Captcha kéo thả shopee

1.Tạo yêu cầu

Request

POST : https://omocaptcha.com/v2/createTask

Name
Type
Required
Description

clientKey

String

yes

Khóa tài khoản khách hàng

task.type

String

yes

Tên class dịch vụ captcha cần giải

task.imageBase64s

Array of String

yes

Loại ảnh
Image

Ảnh mask

Ảnh background

{
    "clientKey": "API_KEY",
    "task": {
        "type": "ShopeeSliderWebTask",
        "imageBase64s": ["BASE64_MASK_BODY_HERE", "BASE64_BACKGROUND_BODY_HERE"]
    }
}

Response

{
    "errorId": 0,
    "taskId": "49f9f60a-c809-4af0-93c0-0409b72e67e0"
}
  • Máy chủ sẽ trả về errorId = 0taskId thành công

2.Nhận kết quả yêu cầu

Request

POST : https://omocaptcha.com/v2/getTaskResult

{
    "clientKey": "API_KEY",
    "taskId": "49f9f60a-c809-4af0-93c0-0409b72e67e0"
}

Response

{
    "errorId": 0,
    "status": "ready",
    "solution": {
        "end": {
            "x": 150,
        }
    }
}
  • Máy chủ sẽ trả về errorId = 0 status = ready

  • Đọc kết quả trong solution

Last updated