Re: asp.net page read response from another site?
- From: "Nathan Sokalski" <njsokalski@xxxxxxxxxxx>
- Date: Thu, 16 Oct 2008 15:27:23 -0400
Take a look at:
http://www.4guysfromrolla.com/webtech/070601-1.shtml
The two key classes you will be using are WebClient and UTF8Encoding. Also,
take note that even though the example on this page gets generated HTML, the
same process can be used for pretty much any type of data (for example, you
could generate another type of text file such as XML, or even non-text stuff
such as images or anything else you can make a file return, I have a few
examples of doing this if you need them). Good Luck!
--
Nathan Sokalski
njsokalski@xxxxxxxxxxx
http://www.nathansokalski.com/
<soni2926@xxxxxxxxx> wrote in message
news:8360c053-3524-471f-8353-776ac4e7c551@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I wanted to make a page where I can send a request to another page,
and read it's response back, can someone point me to an example? it's
just a basic page i need to hit, i can hit it directly with my
browser, no user/pass, but i want to read whats returned into a
webpage, it's going to come back as html, wasn't sure if there's a
control to just display whats returned, otherwise i can parse it, but
main thing was how to send a request to another page and catch the
response back.
Thanks!
.
- References:
- asp.net page read response from another site?
- From: soni2926
- asp.net page read response from another site?
- Prev by Date: asp.net page read response from another site?
- Next by Date: RE: Static Constructor in ASP.NET app
- Previous by thread: asp.net page read response from another site?
- Next by thread: Re: asp.net page read response from another site?
- Index(es):
Relevant Pages
|