# How can we save the content of a HTTP Response

**URL:** <https://discourse.mitmproxy.org/t/how-can-we-save-the-content-of-a-http-response/600>\
**Category:** help\
**Created:** [August 22, 2017, 2:28pm UTC](https://discourse.mitmproxy.org/t/how-can-we-save-the-content-of-a-http-response/600 "2017-08-22T14:28:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guidona](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@Guidona](https://discourse.mitmproxy.org/u/Guidona)\
**Post date:** [August 22, 2017, 2:28pm UTC](https://discourse.mitmproxy.org/t/how-can-we-save-the-content-of-a-http-response/600/1 "2017-08-22T14:28:33Z")

</div>

Hello guys, I’m trying to retreive the response whole content of a http response (the html code of a web page) and save it into a text file and I don’t know how to go about it I really need some help

---

<div class="post-metadata">

**Author:** ![Mk1Escort](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mk1Escort](https://discourse.mitmproxy.org/u/Mk1Escort)\
**Post date:** [August 24, 2017, 10:15pm UTC](https://discourse.mitmproxy.org/t/how-can-we-save-the-content-of-a-http-response/600/2 "2017-08-24T22:15:12Z")

</div>

If you’re just looking for what you see in the flow response body in the GUI, you could write `flow.response.text` to a file.

---

<div class="post-metadata">

**Author:** ![preetam](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@preetam](https://discourse.mitmproxy.org/u/preetam)\
**Post date:** [October 2, 2017, 7:58pm UTC](https://discourse.mitmproxy.org/t/how-can-we-save-the-content-of-a-http-response/600/3 "2017-10-02T19:58:16Z")

</div>

press e then select raw body it will open on terminal then copy that and paste any where you want
