Closed MG-Sika closed 3 years ago
Is it possible to modify the API-Response from the static format {"result":"text"} to a different format?
I prefer to return only a string that have to be formatted by the callback.
Try using inlineResult like this:
inlineResult
// *inlineResult: true std::string echo(const std::string& text);
Thanks. It solves my problem.
Is it possible to modify the API-Response from the static format {"result":"text"} to a different format?
I prefer to return only a string that have to be formatted by the callback.