Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTP.Get Method (string)

Retrieves an HTTP resource.

Pascal
function Get(
    AURL: string
): string; overload;
Parameters 
Description 
AURL 
The universal resource locator to be retrieved. 

String - Contents of the URL.

Get is an overloaded method used to retrieve the file or data for the resource specified in AURL. 

AURL is the fully-qualified location of the resource including the HTTP URL scheme identifier. For example: 

 

  sContent := AHttp.Get('http://www.somedomain.org/resource.html');

 

Get calls an oveloaded variant of the method to retrieve the content of the specified URL.

TIdCustomHTTP.Get

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.