Example of HEADER response

In output parameters mapping you can also specify a path for a mapping with response of type HEADER.

An API call could return a response Header similar to this sample:

  "strict-transport-security": "max-age=31536000; includeSubDomains",
  "x-response-time": "1435",
  "x-frame-options": "SAMEORIGIN",
  "p3p": "CP=Infor doesn't have any p3p policies.",
  "content-type": "application/json",
  "content-length": "3",
  "connection": "Keep-Alive",
  "date": "Tue, 14 Feb 2017 15:48:57 GMT",
  "": ""

To retrieve a header value, use as path the name, for example:

content-length

The resulting value in this case is: “3”.