api modified

This commit is contained in:
wglettig
2019-11-30 00:07:50 +01:00
parent e8929ebfce
commit a03f804b54

View File

@@ -1,4 +1,4 @@
GET hostname/status
GET /status
{
"MODE":1,
@@ -21,7 +21,7 @@ GET hostname/status
}
GET hostname/params
GET /params
{
"l1':1,
"l2':1,
@@ -32,3 +32,25 @@ GET hostname/params
}
PUT /set
{
"SHX":1
}
or
{
"SHX":2.2,
"SHY":1.1
}
returns
{
"SHX":2.2
"message":"SHX->2.2."
}