Request Headers

This property box lets you define the request headers that the HTTP Web Request or HTTP Form Post activity will send to the Web service. Request headers give the Web service operating parameters, such as the language you want the Web service's response to come back in (i.e., Accept-Language = EN) or the range of data you want to retrieve from the site.

Note: Making requests does not ensure the Web service will honor them in its response.

To configure request headers

  1. Add the HTTP Web Request or HTTP Form Post activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
  2. Select the activity.
  3. Click the Advanced button at the top of the Properties Pane.
  4. Click inside the ClosedRequest Header property box.
  5. In the ClosedConfigure Request Headers dialog box, either use the drop-down menu to choose a common request header name from the list or enter a custom header name manually.
  6. Specify a value for the pair next to the name. Click the Token button (right arrow) to use tokens. If you specify a multi-value token for the value, it will be converted into a comma-delimited list when the activity runs.
  7. A new line will automatically appear to let you enter a new name-value pair. Add as many request headers as you want. Remove a pair by clicking the red X.
  8. Click OK.