Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Response result from post

Post Reply
Esico
Posts: 11
Joined: Wed Jan 01, 2020 4:39 pm

Response result from post

Post 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
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Response result from post

Post 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.
Esico
Posts: 11
Joined: Wed Jan 01, 2020 4:39 pm

Re: Response result from post

Post by Esico »

The response Filter could be somting. Its not trivial but thanks!
Post Reply