I am doing some work with the API, and there seems to be some issue with the JSON response, thay all have a close </li> tag on them
e.g.
{"result":"error","message":"A user already exists with that email address<\/li>"}
every single error response comes back with <\/li> on the end, as a result I cannot de-serialize it.
There is also a problem is the success message also. If I create a new client for example, the client gets created just fine, but the response I get back from the API is.
<head><title>Document Moved</title></head> <body><h1>Object Moved</h1>This document may be found <a HREF="http://dev.bluethunder.co/whmcs/clientareaprofileaddone.php">here</a></body>
but there is no such file on the server as clientareaprofileaddone.php, I have even checked the WHMCS download, and that file is not there.
e.g.
{"result":"error","message":"A user already exists with that email address<\/li>"}
every single error response comes back with <\/li> on the end, as a result I cannot de-serialize it.
There is also a problem is the success message also. If I create a new client for example, the client gets created just fine, but the response I get back from the API is.
<head><title>Document Moved</title></head> <body><h1>Object Moved</h1>This document may be found <a HREF="http://dev.bluethunder.co/whmcs/clientareaprofileaddone.php">here</a></body>
but there is no such file on the server as clientareaprofileaddone.php, I have even checked the WHMCS download, and that file is not there.