mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
add test for signin
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# The response will be shown in the right panel
|
# The response will be shown in the right panel
|
||||||
|
|
||||||
@host = http://ems-esp.local
|
@host = http://ems-esp.local
|
||||||
@host_dev = http://10.10.10.20
|
@host_dev = http://10.10.10.173
|
||||||
@host_standalone = http://localhost:3080
|
@host_standalone = http://localhost:3080
|
||||||
@host_standalone2 = http://localhost:3082
|
@host_standalone2 = http://localhost:3082
|
||||||
|
|
||||||
@@ -109,6 +109,14 @@ Authorization: Bearer {{token}}
|
|||||||
###
|
###
|
||||||
GET {{host_dev}}/api/thermostat/seltemp
|
GET {{host_dev}}/api/thermostat/seltemp
|
||||||
|
|
||||||
|
###
|
||||||
|
POST {{host_dev}}/rest/signIn
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
{
|
||||||
|
"username" : "admin",
|
||||||
|
"password" : "admin"
|
||||||
|
}
|
||||||
|
|
||||||
#### STANDALONE ####
|
#### STANDALONE ####
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user