Hi!
I've been working with API version 2 to create addon domains.
I sent a POST request that looked like this: https://example.com:2083/json-api/c...example.com&dir=example.com&subdomain=example
But this is what is returned:
{
"cpanelresult": {
"module": "AddonDomain",
"event": {
"result": 1
},
"func": "addaddondomain",
"data": [
{
"result": 0,
"reason": "domain not specified"
}
],
"preevent": {
"result": 1
},
"error": "domain not specified",
"postevent": {
"result": 1
},
"apiversion": 2
}
}
Any thoughts on why this happens?
Any help is appreciated,
Thanks!
I've been working with API version 2 to create addon domains.
I sent a POST request that looked like this: https://example.com:2083/json-api/c...example.com&dir=example.com&subdomain=example
But this is what is returned:
{
"cpanelresult": {
"module": "AddonDomain",
"event": {
"result": 1
},
"func": "addaddondomain",
"data": [
{
"result": 0,
"reason": "domain not specified"
}
],
"preevent": {
"result": 1
},
"error": "domain not specified",
"postevent": {
"result": 1
},
"apiversion": 2
}
}
Any thoughts on why this happens?
Any help is appreciated,
Thanks!
Last edited by a moderator: