Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the html code of a web page from a given URL 1

Status
Not open for further replies.

davidchardonnet

Programmer
Mar 21, 2001
167
FR
Hello,

I want to get the HTML code of a web page at a given URL from my Delphi Application. I would like to get the result in a string.
Do you know what is the easiest way to do that?

Thank you

David
 
The indy library has a HTTP component. Give it the URL and it gives you back IIRC a tstringlist of the page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top