Menu

test : Método de prueba para depuración

Este método lee los datos de las solicitudes AJAX POST, las analiza y las genera como un arreglo. También genera datos de publicación en un formato raw. Podrías usarlo para depurar tu código.

Dirección: https://api.anti-captcha.com/test
Método: POST
Content-type: application-json

Ejemplo de solicitud

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

Ejemplo de respuesta

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
}