Hi all,
I'm bluehost reseller.I want to creat account with cpanel API.But,I found some error.
[17-Apr-2013 16:22:16] URL: /https://whm.bluehost.com:2087/xml-api/createacct
[17-Apr-2013 16:22:16] DATA: username=username&password=1234567&domain=domain.com&plan=default
[17-Apr-2013 16:22:16] Authentication Header: Authorization: Basic Ymhvbdd
[17-Apr-2013 16:22:19] RESPONSE:
<createacct>
<result>
<options></options>
<rawout></rawout>
<status>0</status>
<statusmsg>Sorry, that's an invalid domain
</statusmsg>
</result>
</createacct>
<!-- Web Host Manager 11.32.6.3 (c) cPanel, Inc. 2012 cPanel Inc | Point.Click.Host. Unauthorized copying is prohibited. -->
[17-Apr-2013 16:22:19] SimpleXML var_dump:
SimpleXMLElement Object
(
[result] => SimpleXMLElement Object
(
[options] => SimpleXMLElement Object
(
)
[rawout] => SimpleXMLElement Object
(
)
[status] => 0
[statusmsg] => Sorry, that's an invalid domain
)
)
I'm bluehost reseller.I want to creat account with cpanel API.But,I found some error.
[17-Apr-2013 16:22:16] URL: /https://whm.bluehost.com:2087/xml-api/createacct
[17-Apr-2013 16:22:16] DATA: username=username&password=1234567&domain=domain.com&plan=default
[17-Apr-2013 16:22:16] Authentication Header: Authorization: Basic Ymhvbdd
[17-Apr-2013 16:22:19] RESPONSE:
<createacct>
<result>
<options></options>
<rawout></rawout>
<status>0</status>
<statusmsg>Sorry, that's an invalid domain
</statusmsg>
</result>
</createacct>
<!-- Web Host Manager 11.32.6.3 (c) cPanel, Inc. 2012 cPanel Inc | Point.Click.Host. Unauthorized copying is prohibited. -->
[17-Apr-2013 16:22:19] SimpleXML var_dump:
SimpleXMLElement Object
(
[result] => SimpleXMLElement Object
(
[options] => SimpleXMLElement Object
(
)
[rawout] => SimpleXMLElement Object
(
)
[status] => 0
[statusmsg] => Sorry, that's an invalid domain
)
)