API documentation
????? ???? ???servers
????? ????????? ?? ?? ????? ???????? ??? ???? ???
Content-Type
application-json
??????
domain
????????
change_dns
?????? ????????
| ???????? ??? | ?????? | ????? | ?????? |
|---|---|---|---|
| domain | ???????? (3-60) | domain name | example.com |
| dns1 | ????? | ???????? ???????? ????? | ns1.my-ndns.com |
| dns2 | ????? | ???????? ???????? ????? | ns2.my-ndns.com |
| ... | ????? | ?? DNS, ?????? 6 ?? ????? | nsX.my-ndns.com |
?????? ??????
{
curl https://api.nicenic.net/v2/?category=domain&action=change_dns&domain={domain}&dns1={dns1}&dns2={dns2}&...={...}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
?????? ??????
0 OK
??? ???????????
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 ??? ??????
{
"code": 400,
"msg" : "Request parameter error",
}






