test : 디버깅 테스트 메소드
이 메소드는 AJAX POST 요청 데이터를 읽고, 파스하고, 배열로 산출합니다. 또한 raw 포맷으로 포스트 데이터를 출력해냅니다. 코드를 디버그하는 데 이용할 수도 있습니다.
주소: https://api.anti-captcha.com/test
메소드: POST
Content-type: application-json
예시 요청
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
반응 예시
JSON(오류 없음)
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
}