Comments (8)
curl -X POST https://panel.myownfreehost.net/xml-api/getcname.php -d 'domain_name=domain.com&username=hname_12345678&api_user=XXXXXXXXX&api_key=XXXXXXXXXX' -u XXXXXXX:XXXXXXXXXX
Returns: 73081144a0525fde6ba1b0510684efcf
Using the json API vs the XML API makes no difference.
The username is irrelevant and doesnt matter. (they probably left it in by mistake), however its still good practice to send the actual username.
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.
from mofh-api-docs.
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.
from mofh-api-docs.
You shouldn't need the username now anymore.
from mofh-api-docs.
You shouldn't need the username now anymore.
Seems like they've broken the endpoint with that change since now I only get ERROR :The API key or API username entered is not valid. .
It also seems like they changed back to query parameters instead of multipart form, just like all other endpoints.
from mofh-api-docs.
You shouldn't need the username now anymore.
Seems like they've broken the endpoint with that change since now I only get
ERROR :The API key or API username entered is not valid. .
It also seems like they changed back to query parameters instead of multipart form, just like all other endpoints.
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?
from mofh-api-docs.
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.
from mofh-api-docs.
I've contacted iFastNet about this and I'm currently waiting for a reply ^
from mofh-api-docs.
This issue is resolved now.
from mofh-api-docs.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mofh-api-docs.