HttpContent.WriteFrom(SecretText) Method

Version: Available or changed with runtime version 12.0.

Sets HttpContent content to the provided SecretText.

Syntax

 HttpContent.WriteFrom(SecretText: SecretText)

Parameters

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

SecretText
 Type: SecretText
A new HttpContent is constructed with this value and headers from before.

HttpContent Data Type
Getting Started with AL
Developing Extensions