update tests

This commit is contained in:
proddy
2025-10-05 15:32:00 +02:00
parent 22703f4100
commit e75bf8871e

View File

@@ -4,7 +4,7 @@
# The response will be shown in the right panel
# @host = http://ems-esp.local
@host = http://192.168.1.225
@host = http://192.168.1.223
@host_dev = http://10.10.10.175
@host_standalone = http://localhost:3080
@host_standalone2 = http://localhost:3082
@@ -89,11 +89,59 @@ Authorization: Bearer {{token}}
GET {{host}}/api/custom/test_custom
#
# Test on dev
# Tests on dev
#
###
POST {{host_dev}}/api/system/message
Content-Type: application/json
Authorization: Bearer {{token}}
{
"value" : "'hello world'"
}
###
POST {{host_dev}}/api/system/message
Content-Type: application/json
Authorization: Bearer {{token}}
{
"value" : "system/settings/locale"
}
###
POST {{host_dev}}/api/system/message
Content-Type: application/json
Authorization: Bearer {{token}}
{
"value" : "custom/test_custom"
}
###
POST {{host_dev}}/api/thermostat/seltemp
Content-Type: application/json
Authorization: Bearer {{token}}
{
"value" : 21.0
}
###
GET {{host_dev}}/api/system/settings/locale/value
###
POST {{host_dev}}/api/system/settings/locale/value
###
GET {{host_dev}}/api/system/info
###