setRestRequestHeaders()
The serviceLib.setRestRequestHeaders() system function sets the HTTP headers that are transmitted to a REST service.
Syntax
serviceLib.setRestRequestHeaders(variable Service | Interface in,
headers Dictionary in)
- 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 assigned to the header.