🤖
OMOcaptcha.com
  • Home
  • Tài liệu api
    • Kiểm tra số dư
    • ImageToTextTask
    • reCAPTCHA
      • RecaptchaV2TokenTask
      • RecaptchaV3TokenTask
      • RecaptchaV2ImageTask
    • FunCaptcha
      • FuncaptchaImageTask
    • Tiktok
      • Tiktok3DSelectObjectWebTask
      • Tiktok3DSelectObjectPhoneTask
      • TiktokRotateWebTask
      • TiktokSliderWebTask
      • TiktokSliderPhoneTask
    • Shopee
      • ShopeeSliderWebTask
    • Zalo
      • ZaloSliderPhoneTask
      • ZaloSelectObjectTask
    • Amzn Captcha
      • AmznSelectObjectTask
    • Geetest
      • GeetestSliderWebTask
  • Hướng dẫn
    • Cài extension từ file zip
    • Set API KEY cho extension
    • Cài extension tool Max Care và Max Hotmail
  • Cập nhật extension cho tool Max Tiktok Chrome
Powered by GitBook
On this page
  • 1.Tạo yêu cầu
  • 2.Nhận kết quả yêu cầu
  1. Tài liệu api
  2. Zalo

ZaloSelectObjectTask

PreviousZaloSliderPhoneTaskNextAmzn Captcha

Last updated 3 months ago

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

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.imageBase64

String

yes

Hình ảnh được mã hóa base64

task.other

String

yes

{
    "clientKey": "API_KEY",
    "task": {
        "type": "ZaloSelectObjectTask",
        "imageBase64": "BASE64_BODY_HERE",
        "other": "Chọn tất cả ảnh có: biến báo giao thông"
    }
}

Response

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

{
    "errorId": 1,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 1 và errorCode mã lỗi

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": {
        "objects": [
            0,
            1,
            2,
            3
        ]
    }
}
  • Máy chủ sẽ trả về errorId = 0 và status = ready

  • Đọc kết quả trong solution

{
    "status": "processing",
    "errorId": 0,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 0 và status = processing yêu cầu đang được xử lý, xin vui lòng chờ 2 giây rồi yêu cầu lại

{
    "errorId": 1,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 1

Văn bản cấu hỏi captcha