Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

...

For example, if you  pass a tenant ID (X-TENANT-ID) in a header, add the parameter X_TENANT_ID and provide a default or leave it blank. When you configure the expression, refer to the Pipeline argument following standard convention:  _X_TENANT_ID.  In the HTTP request, you add the header X-TENANT-ID: 123abc, which results in the value 123abc being substituted for the Pipeline argument X_TENANT_ID.


Info

Custom response headers are supported for Ultra Task or Triggered tasks invoked using Ground URLs. They are not supported for Cloud invoked Triggered tasks.

Example

You can set an HTTP header in a Triggered Task by using the Mapper Snap.

To set the header, add a Mapper Snap to the end of the Pipeline.

Image Added

The Mapper Snap should have a binary output view. To change the output view. Any , click on the View tab, then change the Type of the Output to Binary using the dropdown. Any expressions mapped in that the Mapper Snap are now added as an HTTP response header.

Image RemovedImage Added

The following response shows the endpoint information for the Task URL, where X-My-Header is the custom header being set by the Task:

...