ShopeeSliderWebTask
Last updated
Last updated
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
Request
POST : https://omocaptcha.com/v2/createTask
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
Ả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 = 0
và taskId
thành công
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
và status = ready
Đọc kết quả trong solution