mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 08:39:09 +03:00
add tests for txmode
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
# The response will be shown in the right panel
|
||||
|
||||
# @host = http://ems-esp.local
|
||||
@host = http://192.168.1.65
|
||||
@host_dev = http://192.168.1.223
|
||||
@host = http://192.168.1.223
|
||||
@host_dev = http://192.168.1.65
|
||||
@host_standalone = http://localhost:3080
|
||||
@host_standalone2 = http://localhost:3082
|
||||
|
||||
@@ -145,6 +145,30 @@ Authorization: Bearer {{token}}
|
||||
|
||||
###
|
||||
|
||||
POST {{host_dev}}/api/system/txenabled
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
{
|
||||
"value" : "on"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST {{host_dev}}/api/system/txenabled
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
{
|
||||
"value" : "off"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
GET {{host_dev}}/api/system/settings/txMode/value
|
||||
|
||||
###
|
||||
|
||||
GET {{host_dev}}/api/system/settings/locale/value
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user