额外请求参数请在本站正常操作时进行抓包后获取
_token 参数无需填写
参数:
请求路径: | https://www.90th.cn/api/domain_auto | |||
---|---|---|---|---|
请求方式: | POST | |||
计费方式: | 跟随操作 | |||
参数名称 | 数据类型 | 必填 | 默认值 | 可选值/说明 |
tool | String | 是 | - | cloudflare, namesilo, godaddy, dnspod, dynadot, cloudns, openprovider, gcore, aliyun, gname, westcn, spaceship, aiming, dnsla |
添加域名 - 请求示例 (curl):
curl -X POST "https://www.90th.cn/api/domain_auto" -d "tool=dnspod&_action=zone_create&account_id=4550&form[domain]=fge6.com" -H "Authorization: Bearer xxxxxxxxxxxxxxxx"
返回值示例: JSON UFT-8
{
"code": 200,
"msg": "添加成功",
"data": {
"name_servers": ["a.dnspod.com", "b.dnspod.com", "c.dnspod.com"]
},
"spend": 100
}