curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=singlecheckavailability' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"domain": "hynitr.com"
}'
[
{
"TLD": "ng",
"DomainName": "thegrtnx",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "5.4900",
"Currency": "USD",
"Reason": null
}
]
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=singlecheckavailability' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"domain": "hynitr.com"
}'
[
{
"TLD": "ng",
"DomainName": "thegrtnx",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "5.4900",
"Currency": "USD",
"Reason": null
}
]
The response is of type object[]
.
Was this page helpful?