HttpContent.ReadAs(var InStream) Method

Version: Available or changed with runtime version 1.0.

Reads the content into the provided text.

Syntax

[Ok := ]  HttpContent.ReadAs(var InStream: InStream)

Parameters

HttpContent
 Type: HttpContent
An instance of the HttpContent data type.

InStream
 Type: InStream
The InStream variable that will contain the HTTP content stream.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

HttpContent Data Type
Get Started with AL
Developing Extensions