Icon-click captcha on web is a common Geetest challenge type.
1. Create task
Request
POST https://api.omocaptcha.com/v2/createTask
anchorImageBase64s must be an array of 3 separate images, each cropped and ordered left-to-right as shown on the captcha. This order determines the order of points returned in solution.points.
Response
Success:
Server returns errorId = 0 and a taskId on success.
Failure:
Server returns errorId = 1 with the corresponding errorCode.
2. Get task result
Request
POST https://api.omocaptcha.com/v2/getTaskResult
Response
Success:
Server returns errorId = 0 and status = ready. Read the answer in the solution field.
solution.points contains the coordinates (in imageBase64 pixels) of the 3 icons to click, ordered to match the anchorImageBase64s you sent. Click each point in array order.
Processing:
Server returns errorId = 0 and status = processing. Wait 2 seconds and retry.
Failure:
Server returns errorId = 1 when the task fails.