test: Metode pengujian untuk debugging
Metode ini membaca data permintaan AJAX POST, melakukan parse, dan menghasilkan output sebagai array. Metode ini juga menghasilkan output post data dalam format mentah. Anda dapat menggunakannya untuk debugging kode.
Alamat: https://api.anti-captcha.com/test
Metode: POST
Content-type: application-json
Contoh permintaan
CURL
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
Contoh respons
JSON tanpa kesalahan
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
}