HTTP API
Create a new service
| Name | Type | Description |
|---|---|---|
| name | string | Service name |
| port | number | Service port |
| mode | string | Service forwarding mode |
| protocol | string | Service protocol |
| scheduler | string | Service scheduler |
| persistent | number | Persistence timeout in seconds |
HTTP/1.1 200 OK
{
"Name": "filmes4",
"Host": "192.168.0.4",
"Port": 80,
"Protocol": "tcp",
"Scheduler": "rr",
"Mode": "nat",
"Persistent": 0
}