API documentation
?????? ?? ???? ??????
?????? ??? ??????? ??? ???? ??????
??? ???????
application-json
?????
domain
???????
check
?????? ?????
| ??? ??????? | ????? | ????? | ???? |
|---|---|---|---|
| domains | ????? ???? | ???? ???? ?????? ?????? ?????? | example.com,example.net |
?????? ?????????
| ??? ??????? | ????? | ????? |
|---|---|---|
| data | ?????? |
??????? ????? ?? ?????? ???? ???? ??? ?????? ?? ??????? ????? ????? ?? ?????? ???? ??????? : ?????? ???? ??????? ??? ???? : ?????? ????? ?????? ??? : ??? ??? ?? |
???? ?????
{
curl http://api.www.gtlpnf.cn/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",
}









