Table of Contents

TTMSFNCCloudBase.SimpleGETSyncAsStream Method

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

API unit family: TMSFNCCloudBase Declaring type: TTMSFNCCloudBase Inherited from: TTMSFNCCustomCloudBase

Syntax

class function SimpleGETSyncAsStream(const AURL: string): TMemoryStream;

Parameters

Name Description
AURL The URL to request.

Returns

The response body as a memory stream.