Skip to content

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) ​

ParameterDescription
sample_textSample text
available_methodsList of Available Methods

Example ​

cmd = "test"
data = ""

Request Result:

{
    "status": "ok",
    "data": {
        "sample_text": "Test function works!",
        "available_methods": [
            "test",
            ...
        ]
    }
}