HTTP API
Add a destination to a service
Name | Type | Description |
---|---|---|
name | string | Destination name |
port | number | Destination port |
host | ip | Destination ip address |
weight | number | Destination weight |
HTTP/1.1 200 OK
{
"Host": "10.0.0.6",
"Mode": "masq",
"Name": "test2",
"Port": 80,
"ServiceId": "filmes2",
"Weight": 1
}