HttpContent.WriteFrom(Text) Method

Version: Available or changed with runtime version 1.0.

Sets HttpContent content to the provided text or stream.

Syntax

 HttpContent.WriteFrom(Text: Text)

Parameters

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

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

HttpContent Data Type
Get Started with AL
Developing Extensions