2023-09-08 02:30:01 +00:00
|
|
|
## ON/OFF 제어
|
2023-09-08 01:43:51 +00:00
|
|
|
#PATCH http://13.209.39.139:30870/chamber/1/tube/toggle
|
2023-09-08 02:30:01 +00:00
|
|
|
PATCH http://13.209.39.139:32171/chamber/1/tube/toggle
|
|
|
|
#PATCH http://localhost:8087/chamber/1/tube/toggle
|
2023-09-08 01:43:51 +00:00
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJvcmdhbml6YXRpb25JZCI6ImQxZGJlYWExLWY5ZTUtNGE4OC1hMWM4LTYzMWQ4NTMyOWJmYyIsInJvbGVzIjpbIlJPTEVfQURNSU5JU1RSQVRPUiJdLCJpZCI6IjcyYTUxZDUwLTYwMDEtNDAwYy04NjNmLWZlOGU2OGE1MGExMCIsInN1YiI6InNhLmphbmdAc2R0LmluYyIsImlhdCI6MTY5NDEzNjg4OCwiZXhwIjoxNjk0MTQwNDg4fQ.likh7Ix7p4Yf2iwankLG71VGrgCDzQzhn9Z7QJK0blg
|
|
|
|
|
2023-09-08 02:30:01 +00:00
|
|
|
//{
|
|
|
|
// "command" : "OFF",
|
|
|
|
// "assetCode" : "NODEQ-TEST-1",
|
|
|
|
// "slotNumber" : "1-1",
|
|
|
|
// "tube": [
|
|
|
|
// {"code": "1"}, {"code": "3"}, {"code": "11"}, {"code": "16"}
|
|
|
|
// ]
|
|
|
|
//}
|
2023-09-08 01:43:51 +00:00
|
|
|
|
2023-09-08 02:30:01 +00:00
|
|
|
{"command": "ON"}
|