diag.echo
The diag.echo command is a test function that will echo any parameters in the request into the response.
TR50 Request
{
"cmd": {
"command": "diag.echo",
"params": {
"param1": "value1"
"param2": false,
"param3": 42
}
}
}
Request Parameters
Any object can be passed.
TR50 Response
If the command is sent successfully a success message and the object originally passed is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true,
"params": {
"param1": "value1"
"param2": false,
"param3": 42
}
}
}