add http files
This commit is contained in:
23
http/device-api/measurement.http
Normal file
23
http/device-api/measurement.http
Normal file
@@ -0,0 +1,23 @@
|
||||
### get measurement
|
||||
GET {{hostname}}/measurement
|
||||
Identity: {{identity}}
|
||||
|
||||
### add measurement for all
|
||||
POST {{hostname}}/measurement
|
||||
Content-Type: application/json
|
||||
Identity: {{identity}}
|
||||
|
||||
{
|
||||
"button0": 0,
|
||||
"button1": 1,
|
||||
"button2": 0
|
||||
}
|
||||
|
||||
### add measurement for one
|
||||
POST {{hostname}}/measurement
|
||||
Content-Type: application/json
|
||||
Identity: {{identity}}
|
||||
|
||||
{
|
||||
"button0": 1
|
||||
}
|
||||
Reference in New Issue
Block a user