Edit

Share via


TestHttpResponseMessage.ReasonPhrase(Text) Method

Version: Available or changed with runtime version 15.0.

Gets or sets the reason phrase which typically is sent by servers together with the status code.

Syntax

ReasonPhrase :=   TestHttpResponseMessage.ReasonPhrase(SetReasonPhrase: Text)

Note

This method can be invoked using property access syntax.

Parameters

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

SetReasonPhrase
 Type: Text
The reason phrase.

Return Value

ReasonPhrase
 Type: Text
The reason phrase.

TestHttpResponseMessage data type
Getting started with AL
Developing extensions