Update README.md

This commit is contained in:
wglettig
2019-12-04 13:29:54 +01:00
committed by GitHub
parent 80429d15e3
commit 4a914d0859

View File

@@ -15,10 +15,10 @@ collection: /status
## Getting the state of NewGon:
**Definition**
'GET /status'
`GET /status`
**Responses**
- '200 OK' - on success
- `200 OK` - on success
```json
{
@@ -43,11 +43,13 @@ collection: /status
```
## Setting the variables to NewGon
## Setting the variables to NewGon
**Definition**
'POST /status'
`POST /status`
**Arguments**
```json
{
"MODE":1,
"STATUS":"Ready",
@@ -67,13 +69,13 @@ collection: /status
"phimotor":11,
"cyclecount":123456789
}
```
```
GET /status
{
@@ -96,7 +98,6 @@ GET /status
"cyclecount":123456789
}
GET /params
{
"l1':1,
@@ -129,4 +130,4 @@ returns
"message":"SHX->2.2."
}
```