The read-config command retrieves the configuration in YAML format.
JSON Input Data Format

    {
        "id": string
    }

id * | Specifies the ID of the Serverless-api Gateway.

* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": "routes:\r\n  -\r\n    uri: /*\r\n    upstream:\r\n        nodes:\r\n            \"10.1.0.1:80\": 1\r\n        type: roundrobin\r\n\r\n#END"
    }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }