test : Testa il metodo per fare il debug
Questo metodo legge i dati della richiesta AJAX POST, li analizza e li riorganizza in matrice. Inoltre riproduce i dati in formato raw. Puoi usarlo per fare il debug del tuo codice.
Indirizzo: https://api.anti-captcha.com/test
Metodo: POST
Content-type: application-json
Esempio di richiesta
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
Esempio di risposta
JSON senza errori
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
}