Open pasamsin opened 7 years ago
I have a custom WHMCS and I am using XML API to manage all other aspects now I need one for this as well so I can automate it.
Ditto. Now that the XML-API supports this kind of thing, it should be added to this extension.
Are there any news on this? Calling the CLI from an extension is not a very elegant solution, and this extension is somewhat "core" now.. so why not provide a proper API for it?
Just found a wordaround: the new JSON API You can call the CLI with POST https://HOST:8443/api/v2/cli/extension/call body: { "params": [ "--exec", "letsencrypt", "cli.php", "-d", "domain.com", "-m", "my@email.com" ]} ContentType: application/json
Providing easy installation or removal via whmcs or alternative cms and mobil app