How to capture Content_Request

This is a request from someone I know:

I’ve constructed an agent that creates a form that sends a post to another server. The server responds immediately with the content I want. However, it appears to be text (no HTML formatting is viewed throught the browsers source command).

I’ve ready several articles but can’t seem to understand how to harness the data.

Can anyone help me?

I’m unable to construct the Content_Request to decode the values. This is ofcourse a web application. Thanks.