getRestRequestHeaders()
The
serviceLib.getRestRequestHeaders()
system function gets the HTTP request headers from a variable that is used to access a REST service. This function is available only from the handlers and libraries used in Rich UI.
Syntax
serviceLib.getRestRequestHeaders
(
variable
Service | Interface
in
) returns (
headers
Dictionary
)
variable
A variable used to access the service. The variable is based on a Service or Interface part.
headers
A dictionary. Each entry key is the name of an HTTP header, and the related value (a string) is the header value.
Related reference
EGL library serviceLib
Feedback