Skip to main content
Table of Contents

TTMSMCPCloudBase.SimpleGETSyncAsStream Method

Sends a synchronous HTTP GET request and returns the response body as a memory stream.

API unit family: TMS.MCP.CloudBase Declaring type: TTMSMCPCloudBase Inherited from: TTMSMCPCustomCloudBase

Syntax

TMS.MCP.CloudBase.hppPascalC++
class function SimpleGETSyncAsStream(const AURL: string): TMemoryStream;
__classmethod System::Classes::TMemoryStream* __fastcall SimpleGETSyncAsStream(const System::UnicodeString AURL);

Parameters

Name Description
AURL The URL to request.

Returns

The response body as a memory stream.