Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Version: Available or changed with runtime version 1.0.
Reads the content into the provided text.
Syntax
[Ok := ] HttpContent.ReadAs(var OutputString: Text)
Parameters
HttpContent
Type: HttpContent
An instance of the HttpContent data type.
OutputString
Type: Text
The variable that will contain the HTTP content as a string.
Return Value
[Optional] Ok
Type: Boolean
Accessing the HttpContent property of HttpResponseMessage in a case when the request fails will result in an error. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
HttpContent Data Type
Get Started with AL
Developing Extensions