curl --location --request GET 'https://oteapi.webnic.cc/dns/v2/zone/example.com/records' \
--header 'Authorization: Bearer <token>'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"records": [
{
"name": "www",
"type": "A",
"ttl": 3600,
"rdatas": [
{
"value": "216.239.32.21",
"attributes": {}
}
]
},
{
"name": "test",
"type": "CNAME",
"ttl": 3600,
"rdatas": [
{
"value": "webnic.cc",
"attributes": {}
}
]
}
],
"sourceFrom": "basic"
}
}