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
正文Show properties
persist
以将代理保存到配置文件中。[string]
的列表。此选项必须与 multiply_users
一起使用value | description |
---|---|
open_ssl | 打开 SSL 库 |
flex_tls | Flex TLS 库 |
http | |
https | |
socks |
[username:password@]ip[:port]
local | |
remote |
name[string]
value[string]
full | |
none |
x-lpm-authorization header
{
"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":[]}}'
此页面对您有帮助吗?