Re: asp.net page read response from another site?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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!


.



Relevant Pages

  • Re: pointing hyperlink to a shortcut
    ... The browser does nothing more than send a request to the webserver for the ... HTML file according the the URL in the shortcut. ... > will shortcut to the relevant file which will be returned by the Response ...
    (microsoft.public.inetserver.asp.general)
  • asp.net page read response from another site?
    ... 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? ... just a basic page i need to hit, i can hit it directly with my ... control to just display whats returned, otherwise i can parse it, but ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Check accessibility of .jsp pages?
    ... The online checkers I've found can't access the .jsp pages. ... All a checker does is request a URL and wait for a response from the server. ... The response is in HTML, and HTML is HTML no matter how it is generated. ...
    (comp.infosystems.www.authoring.html)
  • Re: external html page include
    ... I'll stick with iframes. ... The previous response should work. ... Docs, you need to realize that the request will be made at the server, ... unless you intend to alter the HTML in some way before ...
    (comp.lang.ruby)
  • Re: web service question (weblogic / j2ee related)
    ... open a TCP/IP connection and manually send request? ... client would receive the response and manually parse the resulting ... servlets with LWP perl clients, and Python clients with Twisted, ... consider using XML instead of HTML. ...
    (comp.lang.java.programmer)