The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
    1
    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:
    1

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

Share This Page