go to post Bob Felbol · Apr 23, 2018 Size: 149 Set tJSON = "{""t"":""x"", ""page"": ""1"", ""onlyActives"": ""true"", ""userId"": ""838""}"Set httprequest=##class(%Net.HttpRequest).%New()Set httprequest.ContentType = "application/json" Do httprequest.SetHeader("ContentType","application/json")set httprequest.SSLConfiguration="SSL"set httprequest.Https=1set httprequest.Server="server.com"set httprequest.Port=443set tSC = httprequest.EntityBody.Write(tJSON)set tSc = httprequest.Post("/api/api/api/list",)SET tText = httprequest.HttpResponse.Data.Read()ZZDUMP tTextWRITE httprequest.HttpResponse.Data.Size
go to post Bob Felbol · Apr 20, 2018 tHttpResponse.Data.Read return ?ÁÂ0 ?_eä,cÒ'=*^<YÙF¡í$í¼ÈÞÝt oÉ÷ý$?|¤1¡{Dâhà°Ý?Öù)2ós??R?¸¼?ºd?$,ñD+»??? ÔºQZéýNÕ V{C?óò?b¢?éÍ )$ ²5Å?wEë? ??©tÖã1z×2FëÊnôeË æ??]Zßq ܺ?á
go to post Bob Felbol · Apr 20, 2018 Set tHttpRequest = ##Class(%Net.HttpRequest).%New()Set tHttpRequest.ContentType = "application/json" Set ..Adapter.HTTPServer = "url.example.com.br"Set ..Adapter.SSLConfig = "SSL"Set ..Adapter.ProxyHTTPS = 1Set ..Adapter.URL = "/test/api/test/test"Set tStringJSON = "{""t"":""IWESJ7/aZAurD2xnBALbQ4TAkZkitaw86mSEcOCoq2kFqdtPYBPbRjufNcT8YSmYmh6Riy9XlHUjX89RoIiqMxuUlPHeTloCpDULKrfybA3kcOiPmJn3Nc5y4IxODS+QA/qSs17iC7ts2cKorAY1jlDkLHYrep4cNXnvRNRoclu8cXWxtj8tE3ChrB4lDHmTwW6HZIUFSjphe4gCFF39jRB4VKFCLvtbT5MwvfVo2uNbHbJQGf+dSqRt/Tx7zFNmFlUi/vl0EuW6xCEWvsD85r9sApBbG8eX4axg1TcoeMV00FPjiRiGCn/NIdSMyNC/dIDbl69D9t1dgkhRtDY4ZA=="", ""page"": ""1"", ""onlyActives"": ""true"", ""userId"": ""838""}"Set tData(1) = tStringJSONSet tSC = ..Adapter.SendFormDataArray(.tHttpResponse,"POST",tHttpRequest,,.tData)Set tText = tHttpResponse.Data.Read()
go to post Bob Felbol · Apr 5, 2018 The status of old messages has been changed to 'Suspended'It was possible to erase them through the portal.This Ens.MessageBodyS has not been cleaned. How to solve?
go to post Bob Felbol · Apr 4, 2018 Hi Julian.KeepIntegrity has been selected.I suspect that other developers ran months ago without KeepIntegrity.Apparently these old records are not being captured by the cleanup task.How can I clean these old records.
go to post Bob Felbol · Apr 4, 2018 Thank you Julian.Purge task was done. But the size of the overall continues. Checked the 'Ens.MessageHeader' table and there are records for 2016.