HttpRequestMessage.Content([HttpContent]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets the contents of the HTTP message.

Syntax

[CurrentContent := ]  HttpRequestMessage.Content([SetContent: HttpContent])

Note

This method can be invoked using property access syntax.

Parameters

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

[Optional] SetContent
Type: HttpContent
The contents of the HTTP message.

Return Value

[Optional] CurrentContent
Type: HttpContent
The contents of the HTTP message.

HttpRequestMessage Data Type
Get Started with AL
Developing Extensions