Data.Cloud.CloudAPI.TCloudHTTP.Get

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Get(AURL: string): string; overload;
procedure Get(AURL: string; AResponseContent: TStream); overload;

C++

System::UnicodeString __fastcall Get(System::UnicodeString AURL)/* overload */;
void __fastcall Get(System::UnicodeString AURL, System::Classes::TStream* AResponseContent)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI TCloudHTTP

Description

Sends a GET command request.

There are two Get overloaded methods. With the second one you can collect the response with the provided stream.

Get returns the response stream in string form.

The following table shows the significance of the parameters:

Parameter Description

AURL

URL where the GET command is sent

AResponseStream

The stream to collect the response in


See Also