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 in an EGL-generated Java- or JavaScript-based requester of a REST service.
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.