Skip to content

Response output

Set response output.

g.res.output = {'hello':'world'};

Response

{
    "success": true,
    "statusCode": 200,
    "data": {
        "hello": "world"
    }
}