I'm using a flash application in my browser to send http requests to a server. The server returns http responses to the browser. I would like to access the body/payload of these http responses with another program in real time.
I tried two approaches.
1.
I can see all the responses that Firefox receives in the Network Monitor tool that comes with Firefox. I just don't know how to access the data from any other program.
2.
I tried logging the network data in Firefox with about:networking using these log modules:
timestamp,sync,nsHttp:3
This logged the headers as expected, but omitted the bodies of the responses. Higher levels of nsHttp logged more info, but not the body.
Additional info that may be relevant:
- I cannot send requests from any other program. The flash application in the browser must make all http requests.
- I'm not stuck with Firefox, it's just my preference. A solution for a different browser is acceptable.