Capturing Response Headers in the REST Plugin

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.

image-20240325-193003.png

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.

image-20240325-193123.png

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

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