API Automation

API Test Proxy

Test Proxy using the API:


Request Url:


http://127.0.0.1:35000/api/v1/proxy/test?proxytype=socks5&proxyserver=127.0.0.1&proxyport=5000&proxyusername=&proxypassword=&timeout=8000


Request Type: GET


NameTypeDescriptionrequired
proxytypestringProxy Type 
socks5 socks4 http https
true
proxyserverstringProxy IPtrue
proxyportstringProxy porttrue
proxyusernamestringusernametrue
proxypasswordstringpasswordtrue
timeoutintActive timeout in milliseconds.
Test agent timeout returns immediately
false


Response


{
    "status":"OK",
    "value":
"IP:216.**.***.180\r\ncountry:CA\r\nregionName:Ontario\r\ncity:Windsor\r\nzip:N8W\r\ntimezone:America\/Toronto\r\n"
}
{
    "status": "ERROR",
    "value": "Failed to test the proxy server."
}