HttpContent.ReadAs(var Text) Method
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.
See Also
HttpContent Data Type
Get Started with AL
Developing Extensions
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: a lo largo de 2024, eliminaremos gradualmente los problemas de GitHub como mecanismo de comentarios para el contenido y lo reemplazaremos por un nuevo sistema de comentarios. Para obtener más información, consulte:Enviar y ver comentarios de