Page 1 of 1

How to get response body

Posted: Sat Nov 02, 2019 7:27 pm
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!

Re: How to get response body

Posted: Sun Nov 03, 2019 9:59 am
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.

Re: How to get response body

Posted: Mon Nov 04, 2019 6:17 am
by ForestListener
Thank you!