View Full Version : API Suggestion

08-20-2003, 12:20 AM
For methods like CMD_ACCOUNT_USER and CMD_ACCOUNT_RESELLER where a "text" value it returned, would it be possible to return in the http headers the message that is to be displayed?

It would be rather complicated to regex the whole text output for one little message.


DirectAdmin Support
08-20-2003, 09:13 AM
I think returning the whole text isn't too useful if you're trying to get details about the result.. Message could be added to the headers, yes... or I could just create an CMD_API version of those specifically designed for external apps. I'm sure that would be easier :)


08-20-2003, 07:04 PM
Thanks a lot :D