GEB Posted June 8, 2020 Share Posted June 8, 2020 Hi, Quote namespace WHMCS\Module\Registrar\Registrarmodule; /** * Sample Registrar Module Simple API Client. */ class ApiClient { const API_URL = 'https://www.example.com/api/1.0/'; What result is in API? Is there json? Where can I find instruction? Thanks 0 Quote Link to comment Share on other sites More sharing options...
steph.hope Posted June 9, 2020 Share Posted June 9, 2020 It depends on the API of the registrar you are creating the module to interact with. The sample registrar module seems to assume it'll be JSON, but when I was dealing with it I had to rewrite a bit to deal with XML instead. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.