Difference between revisions of "GetPage"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetPage(const URL: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Gets ...")
 
 
Line 22: Line 22:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Internet Functions]]
 
[[Category:Internet Functions]]
 +
[[Category:HTTP Functions]]

Latest revision as of 09:56, 4 July 2011

Definition

function GetPage(const URL: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Gets the content of a page specified by the string URL and returns it. An empty string is returned if the function failed to get the contents. The function supports redirects and SSL.

Example

begin
  WriteLn(GetPage('http://www.google.com/'));
end.

See Also