# Image captcha solver

Image captcha solver, Authentication is required.

# How to use

/solve can be accessed using GET and POST methods

# via GET

Can pass the URL of the image as a src parameter

curl https://api.browserlify.com/solve?token=YOUR_TOKEN&src=https://browserlify.com/images/okimgs/3n3d.png

Output:

3n3d

# via POST

In most cases, the image captcha code can only be accessed once, you need to encode the image as base64 to solve.

Supports images in data-url format or base64 encoding of original images

curl -X POST https://api.browserlify.com/solve?token=YOUR_TOKEN \
    -H 'Content-Type: application/json' \
    -d '{"src": "https://browserlify.com/images/okimgs/3n3d.png"}'
## data-url format
curl -X POST https://api.browserlify.com/solve?token=YOUR_TOKEN \
    -H 'Content-Type: application/json' \
    -d '{"data": "data:image/png;base64,iVBORw0KGgoAAAA...."}'
## base64 encoding of original images
curl -X POST https://api.browserlify.com/solve?token=YOUR_TOKEN \
    -H 'Content-Type: application/json' \
    -d '{"data": "iVBORw0KGgoAAAA...."}'

# Response

The Content-Type is plain/text, empty content when solve fail.

# Request Options

Parameters for /solve:

Name Type Default Required Description
src string "" NO Image source url
data string "" POST only Image base64 encoded text.