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.

Use API to Vb.net

Discussion in 'cPanel Developers' started by mayaboys, Feb 5, 2011.

  1. mayaboys

    mayaboys Member

    Joined:
    Jan 22, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I want to know if it was possible to use the XML API in VB.net because I can
    not connect to the service certainly an authentication error.

    Thank you
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi mayaboys,

    You should be able to authenticate and make any XML-API calls using whatever scripting language or remote client you desire. It's simply an HTTP request; in your headers, set the username and password that you want to authenticate with (or you can authenticate with a remote hash value in the header).

    I personally have not done any scripting with VB.net, but I do recall seeing some forum posts about ASP and .NET headers in the past. In particular, I'm thinking of this one, http://forums.cpanel.net/f42/how-use-xml-api-asp-net-156873.html . You may want to search the forums if you haven't already.

    If you care to post some code examples we can try to help you in more detail.

    Regards,
    -DavidN
     
  3. mayaboys

    mayaboys Member

    Joined:
    Jan 22, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Thank you for your message I forgot to change the header by running the web application that did everything buger!

    Good day
     
Loading...

Share This Page