Link to home
Start Free TrialLog in
Avatar of sheepfarmer
sheepfarmer

asked on

Capturing a website from Delphi

Is it a fairly simple process to request a website from within a Delphi application and have the resultant webpage or resultant data returned and stored in a variable for further  processing.

e.g.
Send the following
 GET http://www.mywebsite.com/status

Receive the following into a variable
<html><head><title>System Status</title></head><body>Status OK</body></html>

Ideally, it would also be good to capture the header info (e.g. Error 404 or similar)

Thanks
SF
ASKER CERTIFIED SOLUTION
Avatar of Hypo
Hypo
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sheepfarmer
sheepfarmer

ASKER

Top banana.  Thanks for this.
Do the Indy HTTP components allow for such things analysis of the returned page, headers etc?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for all that - much apprecaited.