www.demo.com needs to review the security of your connection before proceeding.
只需几行代码,即可在您的应用中集成验证码解决能力。
# Create task
curl -X POST https://api.cfsolver.io/createTask \
-H "Content-Type: application/json" \
-d '{
"apiKey": "YOUR_API_KEY",
"type": "CloudflareChallenge",
"url": "https://protected-site.com",
"content": true
}'
# Then poll result
curl -X POST https://api.cfsolver.io/getTaskResult \
-H "Content-Type: application/json" \
-d '{
"apiKey": "YOUR_API_KEY",
"taskId": "TASK_ID_FROM_CREATE_RESPONSE"
}'