Redigera

Dela via


HttpRequestMessage.SetSecretRequestUri(SecretText) Method

Version: Available or changed with runtime version 12.0.

Sets the secret URI used for the HTTP request.

Syntax

[Ok := ]  HttpRequestMessage.SetSecretRequestUri(RequestUri: SecretText)

Parameters

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

RequestUri
 Type: SecretText
The secret URI to use for the HTTP request.

Return Value

[Optional] Ok
 Type: Boolean
true if the URI was set successfully, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

HttpRequestMessage Data Type
Getting Started with AL
Developing Extensions