Hello,
I am into PHP programming and I plan to use CPanel XMLAPI to call API2 functions in one of my application.
I have the following URL which I wrote to check my scripts functionality.
https://domainname.com:2087/xml-api/cpanel?user=bob&xmlin=<cpanelaction>
<module>email</module><func>listpopswithdisk</func>
<args><domain>domainname.com</domain></args></cpanelaction>
(Note: The above is in one line only; I broke it up a bit to keep it from "breaking" the window)
But when I run it gives me the following output
<cpanelresult>
<data>
<result>0</result>
<reason>Unknown Error</reason>
</data>
</cpanelresult>
Any idea why I get such an output. Is there anything wrong in the URL formation or am I missing something that needs to be taken care of ..
Looking forward for all possible inputs.
Thanks.



LinkBack URL
About LinkBacks
.





