From a2e2cf7f75584174f434c0991551d863e0e987fd Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 4 May 2024 14:17:16 +0200 Subject: [PATCH] add test for signin --- test/api_test.http | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/api_test.http b/test/api_test.http index 5be20b0b4..04d447f88 100755 --- a/test/api_test.http +++ b/test/api_test.http @@ -4,7 +4,7 @@ # The response will be shown in the right panel @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_standalone2 = http://localhost:3082 @@ -109,6 +109,14 @@ Authorization: Bearer {{token}} ### GET {{host_dev}}/api/thermostat/seltemp +### +POST {{host_dev}}/rest/signIn +Content-Type: application/json + +{ + "username" : "admin", + "password" : "admin" +} #### STANDALONE ####