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
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
Ideally, it would also be good to capture the header info (e.g. Error 404 or similar)
Thanks
SF
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for all that - much apprecaited.
ASKER
Do the Indy HTTP components allow for such things analysis of the returned page, headers etc?