Data.Cloud.CloudAPI.TCloudHTTP.Get

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: TCloudHTTP

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 */;

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