Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I use the xml - api?

Discussion in 'cPanel Developers' started by rhopperger, May 2, 2007.

  1. rhopperger

    rhopperger Member

    Joined:
    Jan 22, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    For the life of me I can't figure out how to actually use the xml api that cPanel obviously offers.
    From http://www.cpanel.net/plugins/xmlapi/index.html I gather that I am supposed to "call a URL from WebHostManager" but I have no idea what that is supposed to mean.

    If my cPanel test-installtion is invoked like this http://www.MyDomain.com:2086
    how then am I supposed to add /xml-api/setupreseller?user=bob&makeowner=1
    like the xml api documentation suggests.

    If I try to invoke
    http://www.MyDomain.com:2086/xml-api/setupreseller?user=bob&makeowner=1
    I get a 404 error.

    Could you please let me know how to invoke the xml-api on my cPanel?

    Thanks a lot!
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    29
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    You need cpanel 11.x+
     
  3. rhopperger

    rhopperger Member

    Joined:
    Jan 22, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    That would be an explanation! That never occurred to me as I just downloaded the 14 day trial version a week ago.

    Thanks a lot for that answer.
     
  4. Quizboy

    Quizboy Member

    Joined:
    May 17, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151

    Hi,
    Did this solve your situation, and does it now work by calling the url with the additional parameters?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice