Test method
Description
A test method returns the text ‘Test function works!’ and a list of available methods for the client. It is used to check access and request format to the API.
Request Parameters (data)
None
Response Parameters (data)
| Parameter | Description |
|---|---|
| sample_text | Sample text |
| available_methods | List of Available Methods |
Example
cmd = "test"
data = ""Request Result:
{
"status": "ok",
"data": {
"sample_text": "Test function works!",
"available_methods": [
"test",
...
]
}
}