Skip to content

动态-选择代理格式 ​

返回代理字符串格式选项,用于 生成代理链接。

鉴权

所有渠道商接口均需在请求头中携带 accessKeySecret。密钥在渠道商管理平台中获取,并可根据需要重置。详见 通用信息。

接口描述 ​

项目说明
方法POST
地址https://api2.ipmart.io/custom/patterns

输入参数 ​

本接口无需请求体,发送空 JSON {} 即可。

重要输出参数 ​

参数名称必选类型描述
status是Int返回码
errorMsg否String错误信息
code否String标识(0、1、2)
desc否String格式描述:
0 代理服务器地址:端口:账号:密码
1 账号:密码@代理服务器地址:端口
2 代理服务器地址|端口|账号|密码

发送示例 ​

json
{}

返回示例 ​

成功 ​

json
{
  "status": 200,
  "errorMsg": null,
  "data": [
    { "code": "0", "desc": "代理服务器地址:端口:账号:密码" },
    { "code": "1", "desc": "账号:密码@代理服务器地址:端口" },
    { "code": "2", "desc": "代理服务器地址|端口|账号|密码" }
  ]
}