Capturing Response Headers in the REST Plugin

This feature was added in FlexDeploy version 7.0.0.1, and REST Plugin version 7.0.0.1.1

To capture HTTP response headers from the REST plugin, simply create a user defined output for each header you want to save. All response headers from the HTTP request will be available to be used as plugin outputs, so they can be easily accessed.

Defining Workflow Variables for Headers

To get started, first define the workflow variables that will store the header values. These variables will be accessible to the workflow.

In the workflow editor, click the variables icon, then define the variables that will store your header values.

Defining Plugin Outputs

Next, define the plugin outputs that will store the headers in the workflow variables we just created. Open your REST plugin step in the workflow, then select the ā€œUser Outputā€ tab. Here, specify the header name in the ā€œPlugin Outputā€ field, and the workflow variable you want to use in the ā€œWorkflow Variableā€ field. Only headers defined here will be available as plugin outputs.

Now you can use the workflow variables in subsequent workflow steps.

The following macros are not currently supported in the footer:
  • style