ajbowler/M14 — pull request #26 by nmont (2014-12-07 08:09:01+00:00)
Title: Woring /createConnection and /destroy methods

This code is already on the production site can be reached by post requests.

Here are the following request body examples:

```json
/destroy
{
username: "Nicholas Montelibano",
password: "password",
connectionID: "25"
}
```

```json
/createConnection
{
username: "Alex Lende",
connectionName: "StompingBunnies",
serverHost: "5.1.2.7.9",
serverPort: "7777",
serverPass: "aaaaaa",
streamHost: "98.76.54.32.1",
streamPort: "4545",
streamSuffix: "mpd.ogg"
}
```

see trello card [here](https://trello.com/c/MaCrm5no) for refactoring of some code that needs to eventually be done.