getRestResponseHeaders()

The serviceLib.getRestResponseHeaders() system function gets the HTTP response headers from a variable that is used to access a REST service. This function is available in an EGL-generated Java requester of a REST service.

Syntax

  serviceLib.getRestResponseHeaders(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.