Page 1 of 1

Response result from post

Posted: Wed Mar 17, 2021 4:24 pm
by Esico
Hi

In short. An ajax post is done in javascript in the page itself and the response body needs to be processed in Delphi.

Actually its the same question as: https://www.briskbard.com/forum/viewtopic.php?f=8&t=125&p=436&hilit=response+on+post#p436

I tried a few things like the InspectResponse but only header information is there. Nice but we need the response.content.

In here: https://www.briskbard.com/forum/viewtopic.php?f=8&t=298&p=6177&hilit=response+post#p6177 some one mentions: ResponseFilterBrowser2.zip but the file is not here anymore.

I would expect in the onResourceLoadComplete just a property to the body (and header). Is there an helper function somewhere to get the job done?

Hope you can help.



Sincerely, Edward
p.s. still amazed by the pump speed

Re: Response result from post

Posted: Thu Mar 18, 2021 9:15 am
by salvadordf
Try the PostInspectorBrowser demo to get the POST body.

If that's not enough you can also try the ResponseFilterBrowser demo to get the body.

Both demos are inside the "demos/Delphi_VCL" directory.

Re: Response result from post

Posted: Mon Mar 22, 2021 5:19 pm
by Esico
The response Filter could be somting. Its not trivial but thanks!