mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-04-11 11:41:56 +02:00
Main build (Jenkins)
This commit is contained in:
parent
ee3775e08c
commit
69c8ab1081
File diff suppressed because it is too large
Load Diff
@ -106,7 +106,7 @@ Function GetToken(Val Login, Val Password) Export
|
||||
Response = SafeConnection.Get(New HTTPRequest("/api/key"));
|
||||
|
||||
JSONReader = New JSONReader();
|
||||
JSONReader.OpenStream(Response.GetBodyAsStream());
|
||||
JSONReader.SetString(Response.GetBodyAsString());
|
||||
|
||||
Response = ReadJSON(JSONReader);
|
||||
|
||||
|
@ -106,7 +106,7 @@ Function GetToken(Val Login, Val Password) Export
|
||||
Response = SafeConnection.Get(New HTTPRequest("/api/key"));
|
||||
|
||||
JSONReader = New JSONReader();
|
||||
JSONReader.OpenStream(Response.GetBodyAsStream());
|
||||
JSONReader.SetString(Response.GetBodyAsString());
|
||||
|
||||
Response = ReadJSON(JSONReader);
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
||||
Ответ = БезопасноеСоединение.Получить(Новый HTTPЗапрос("/api/key"));
|
||||
|
||||
ЧтениеJSON = Новый ЧтениеJSON();
|
||||
ЧтениеJSON.ОткрытьПоток(Ответ.ПолучитьТелоКакПоток());
|
||||
ЧтениеJSON.УстановитьСтроку(Ответ.ПолучитьТелоКакСтроку());
|
||||
|
||||
Ответ = ПрочитатьJSON(ЧтениеJSON);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user