Jump to content

Using HTML API


Caiser_Souse

Recommended Posts

I am looking to use a registrar SpiritDomains.com for my domain services, but they are discontinuing support of their old API's and going to an HTML API. I tossed a link up to their documentation for it. I have looked through WHMCS's Registrar Development kit, but I am at a loss for how to make the two work together.

 

I wouldn't mind vague hints or fully fledged fixes, I am more than willing to learn and work for it, but I am having trouble with where to input the html api and have it work with the functions.

 

 

 

http://accounts.spiritdomains.com/kb/answer/744

Link to comment
Share on other sites

I'm sorry, I should have been more specific.

 

It calls for using the GET and POST methods, but would I then need to

 

$domaininfo = fopen('https://test.httpapi.com/api/contacts/add.json?auth-userid=0&auth-password=password&name=abc&company=company&email=urname@domain.com&address-line-1=address1&city=city&country=nn&zipcode=0&phone-cc=0&phone=0&customer-id=0&type=Contact');

 

parse that XML file, then feed the remains back into the developments parameters? Or can I use the GET/POST to plug it directly into the parameters?

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated