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.

How to get response body

Post Reply
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

How to get response body

Post by ForestListener »

Hello.

Please, help.

How to get a response body html/Json?

For example, i push Webpage button to show company contacts, the browser sending a request to obtain this contacts. I want to get this response body text and save it to a file (not a Webpage HTML, only the request HTML).

Thank you!
Last edited by ForestListener on Mon Nov 04, 2019 6:18 am, edited 1 time in total.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to get response body

Post by salvadordf »

Hi,

The easiest way to get the results from a request is to use a URLRequest. The URLRequest demo has all the code to send and receive custom requests.

If you can't use a URLRequest then you need to use a "filter" to get the body of that request. See the ResponseFilterBrowser demo for more details.
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

Re: How to get response body

Post by ForestListener »

Thank you!
Post Reply