Response StructureΒΆ

{
    "error": true,
    "error_msg": "some error message",
    "result": "",
}


{
    "error": false,
    "error_msg": "",
    "result": [{
            "key": "val"
    }],
}