Route: https://api.kayran.live/CheckProxy
Users can check if an existing Proxy is OK to use or not.
Roles Required: Admin and Users. Private Users can only Check Proxies they have created.
Request Syntax
{
"apiKey": "String",
"ip": "String",
"port": "String",
"auth": True/False,
"username": "String",
"password": "String"
}
Request Parameters
Parameters being used in the Request
Parameter Name :
apiKey
Parameter Usage and Options :
Your Kayran given API Key.
How do I get it ? :
Located in the “Profile” section.
Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.
Type :
String
Is it Optional ? :
No.
Parameter Name :
ip
Parameter Usage and Options :
The IP of the Proxy to be checked.
Type :
String
Is it Optional ? :
No.
Parameter Name :
port
Parameter Usage and Options :
The Port of the Proxy to be checked..
Type :
String
Is it Optional ? :
No.
Parameter Name :
auth
Parameter Usage and Options :
If authentication needed
Type :
Boolean
Is it Optional ? :
Yes.
Parameter Name :
username
Parameter Usage and Options :
username for proxy authentication
Type :
String
Is it Optional ? :
Yes.
Parameter Name :
password
Parameter Usage and Options :
Password for proxy authentication
Type :
String
Is it Optional ? :
Yes.
Successful Response
{
"Error": 0,
"Function": "CheckProxy",
"Data": "Set up successfully"
}
Errors and their Possible Causes
For more information, please refer to the General Errors section.