CMD_API_COMMENTS

Version 1.481

Feature
Finished

Related to CMD_COMMENTS, CMD_API_COMMENTS can be used to set and retrieve a basic text file for a User. Usually, it's just comments by the Reseller, but with the API, it would be possible to store actual data, encoded however you'd like, as it's just a text file. Accepts both GET and POST. Save a comment: user=username comments=the data you want to save The data can contain n characters, similar to what a textarea generates. Retrieve a comment: user=username action=view You can use CMD_COMMENTS for action=view, but will be html encoded. If you use CMD_API_COMMENTS for actin=view, it will be the raw comment.

Interested to try DirectAdmin? Get a 30-day Free Trial!