API documentation
????????? ?????? Availability
?????????? ??????? ???????????????? ??????? ??????????
Content-Type
application-json
?????????
domain
???????
check
????????? ???????????
| ?????????? ?????? | ???? | ?????? | ???????? |
|---|---|---|---|
| domains | ???????? | ?????????? ????????? ???????????, ?????????????? ?????????? ?????? | example.com,example.net |
??????? ???????????
| ?????????? ?????? | ???? | ?????? |
|---|---|---|
| data | ??????? |
?????????? ???? ????????, ????? ??????? ?????? ???? ???????? ?? ???????????????? ??????? ??????????? ?????????????? : ?????? ??????????????????? ?????????????? ?? ???? ????????????? : ??????? ??????????? ??????? : ?????? ??????? ????? |
????????? ????????
{
curl https://api.nicenic.net/v2/?category=domain&action=check&domains={domains}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
??????? ?????????
0 OK
??????????? ??????
{
"code": 0,
"msg" : "success",
"data" : {
"sdsjalkw.com": "available"
}
}
400 ???? ????????
{
"code": 400,
"msg" : "Request parameter error",
}






