我在调用 addNameserversToDomain 时遇到问题。每次我尝试执行它时,我都会收到错误:
{
"error": "Object does not exist to execute method on. (SoftLayer_Dns_Domain_Registration::addNameserversToDomain)",
"code": "SoftLayer_Exception"
}
网址: https ://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_Registration/addNameserversToDomain.json
卷曲请求
curl --location --request GET 'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_Registration/addNameserversToDomain.json' \
--header 'Authorization: {{AuthToken}}' \
--header 'registrationInitParameters: true' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameservers": [
"aa.com"
]
}'