

KBazX
Members-
Content Count
16 -
Joined
-
Last visited
Community Reputation
0 Neutral-
TSslHttpRest.GetResponseJson and json array
KBazX replied to KBazX's topic in ICS - Internet Component Suite
Unfortunately, I do not have the opportunity to influence the developers of the web service. Thank you so much for your work! -
TSslHttpRest.GetResponseJson and json array
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I just had this situation. I requested an array of objects from the web service, but specified the incorrect range of the array index. The web service returned an empty array. -
The TSslHttpRest.GetResponseJson function cannot process json of the following type: [] ["aaa"] ["aaa", "bbb"] In theory, we should add an analysis of the presence of square brackets in the resulting string to this function.
-
Clearly! Thanks!
-
Did I understand correctly that it makes no sense to use the OnDocData event for the TSslHttpRest component, since TSslHttpRest certainly uses the RcvdStream property of its ancestor TSslHttpCli?
-
Header Last Modifed to TDateTime
KBazX replied to chmichael's topic in ICS - Internet Component Suite
RespLastModDT -
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I'm doing this in the OnStateChange-event for now. I'm tracking states httpDnsLookupDone and httpBodyReceived. -
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I just need the total time it takes to get a response from the web service. That is, taking into account network delays, web server delays, etc. -
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I'm sorry, I phrased the question incorrectly. I meant the duration of the request execution by the server. -
TSslHttpRest - How can I get web server response time?
KBazX posted a topic in ICS - Internet Component Suite
Subj -
No. But there may be a bug.
-
ICS V9.3 I execute a test http-request with the MaxBodySize property with a value that is obviously less than the response size. I noticed the following errors: - Events OnRestRequestDone and OnRequestDone are executed twice. - In repeating events, the property ReasonPhrase has a repeating status code. ................ ................ ................ HttpRest - DocEnd HttpRest - RestRequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 Aborting connection, Body Size too Large: 369" HttpRest - RequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 Aborting connection, Body Size too Large: 369" HttpRest - RestRequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 404 Aborting connection, Body Size too Large: 369" HttpRest - RequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 404 Aborting connection, Body Size too Large: 369"
-
But if the OpenSSL libraries are located next to the file, then the loading of OpenSSL is successful automatically.
-
If I dynamically create the TSslHttpCli component for only one request, then I don't control the OpenSSL loading process.
-
But it may depend on the URL.