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.

Getting expected result from API

Discussion in 'cPanel Developers' started by mohisanisel, May 29, 2014.

  1. mohisanisel

    mohisanisel Registered

    Joined:
    Sep 23, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Excuse me for my bad English :)

    I'm trying to connect to WHM through API and Hash. I just used so many pre-coded scripts which i found on the Net.

    But no luck, because I couldn't get the result which I expect. I just want to get the response of WHM about my command. for example if i send an account creation request, I want to get this response: "Account Created Successfully" or "Account has not been created" (This responses will be sent by whm)

    one of pre-coded scripts I've tested was returning the entire page of WHM in result and another one returns nothing at all :-S

    your helps are appreciated. Thanks so much :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following document is a good place to start:

    Authenticating API Function Calls

    If you need help making an API call, then the following option in Web Host Manager could be useful to you:

    "WHM Home » Development » API Shell"

    Thank you.
     
Loading...

Share This Page