Muokkaa

Jaa


HttpRequestMessage.SetRequestUri(Text) Method

Version: Available or changed with runtime version 1.0.

Sets the URI used for the HTTP request.

Syntax

[Ok := ]  HttpRequestMessage.SetRequestUri(RequestUri: Text)

Parameters

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

RequestUri
 Type: Text
The 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
Get Started with AL
Developing Extensions