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.

Gow is possible to Read The Response Body of specific Request only?

Post Reply
bullsito
Posts: 32
Joined: Sun Dec 13, 2020 4:19 pm

Gow is possible to Read The Response Body of specific Request only?

Post by bullsito »

I see the demo with responsefiler but is too complicated and also i do not want to modify the body.

how is possible for all requests having the string "examplestring" in Url and is always a text/html content type to Log The response body?
For example would be nice if onResourceResponse event i could do the follow.Z

1) get the name of Requested Url
2) get the Body from this Resource.

is it possible to include a demo for this?
thank you.
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Re: Gow is possible to Read The Response Body of specific Request only?

Post by dilfich »

That's right, it's complicated. The example of "CopyScript" is important for you in the demo and do it. At least by Content-Type or url.
bullsito
Posts: 32
Joined: Sun Dec 13, 2020 4:19 pm

Re: Gow is possible to Read The Response Body of specific Request only?

Post by bullsito »

yeap everything is fine now.
then StreamCopyCompleteMsg(var aMessage : TMessage) has my fstream so i can save it to file thanks.
Post Reply