Menu

test:用于进行调试的测试方法

此方法可读取 AJAX POST 请求数据,对其进行解析,然后以数组的形式输出信息。此方法也以原始格式输出过帐数据。可用其对代码进行调试。

地址: https://api.anti-captcha.com/test
方法: POST
Content-type: application-json

请求示例

curl -i -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -X POST -d '{
"clientKey":"myClientKey",
"hello" : "world",
"apitest" : true
}' https://api.anti-captcha.com/test

回应示例

HTTP/1.1 200 OK
Server: nginx/1.12.1
Date: Tue, 24 Oct 2017 21:25:57 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive

Parsed input JSON:
Array
(
    [clientKey] => myClientKey
    [hello] => world
    [apitest] => 1
)
Raw POST input:
{
"clientKey":"myClientKey",
"hello" : "world",
"apitest" : true
}