For example, I have an ASP.NET form called by another aspx:
string url = "http://somewhere.com?P1=" + Request["param"];
Response.Write(url);
I want to do something like this:
string url = "http://somewhere.com?P1=" + Request["param"];
string str = GetResponse(url);
if (str...) {}
I need to get what Response.Write is getting as a result or going to a URL, manipulate this response and send something else.
Any help or point in the right direction is welcome.
David source
share