curl "http://127.0.0.1:22999/api/proxies" -H "Content-Type: application/json" -d '{"proxy":{"port":24000,"zone":"ZONE","proxy_type":"persist","customer":"CUSTOMER","password":"password","whitelist_ips":[]}}'
{
"port":24000,
"zone":"zone_name",
"proxy_type":"persist",
"customer":"customer_id",
"password":"password",
"whitelist_ips":[]
}
curl "http://127.0.0.1:22999/api/proxies" -H "Content-Type: application/json" -d '{"proxy":{"port":24000,"zone":"ZONE","proxy_type":"persist","customer":"CUSTOMER","password":"password","whitelist_ips":[]}}'
{
"port":24000,
"zone":"zone_name",
"proxy_type":"persist",
"customer":"customer_id",
"password":"password",
"whitelist_ips":[]
}
POST
/api/proxies
POST
bodyShow properties
persist
to save proxy into the configuration file.user
s [string]
. This option has to be used along with multiply_users
value | description |
---|---|
open_ssl | Open SSL Library |
flex_tls | Flex TLS Library |
http | |
https | |
socks |
local | |
remote |
full | |
none |
{
"port":24000,
"zone":"zone_name",
"proxy_type":"persist",
"customer":"customer_id",
"password":"password",
"whitelist_ips":[]
}
curl "http://127.0.0.1:22999/api/proxies" -H "Content-Type: application/json" -d '{"proxy":{"port":24000,"zone":"ZONE","proxy_type":"persist","customer":"CUSTOMER","password":"password","whitelist_ips":[]}}'
Was this page helpful?