-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getcname.php #33
Comments
Using the json API vs the XML API makes no difference. By creating an CNAME record from HASH_VALUE.domain.com to ns1.byet.org the domain can be added to cPanel without changing nameservers. Right now it is not possible to create an account with an domain that has been verified by CNAME via the API! Its only possible to manually add that in vPanel. |
The other endpoints do use body data (at least thats how your docs specify it and that way it also works). What happens if you use body data? |
I get the same error then it seems. |
Thats interesting, ill look into this later. |
I've contacted iFastNet about this and I'm currently waiting for a reply ^ |
Validate domain by CNAME
This endpoint allows you to add a domain using CNAME validation instead of DNS validation. It uses a POST request, which is confusing because it's called getcname but whatever.
Required parameters:
api_user
api_key
-username
domain_name
XML API:
https://panel.myownfreehost.net/xml-api/getcname.php
Example response:
JSON API:
https://panel.myownfreehost.net/json-api/getcname.php
Example response:
Thanks to @BastelPichi for bringing up the missing endpoint.
The text was updated successfully, but these errors were encountered: