Get header

This is a pre-built action located under the WebService List Element. The functionality of this action in Avo Assure is to fetch the response header after executing a webservice request and save the result in the dynamic variable.

Syntax

Input Value: <Header Key>

Argument
Description

<Header Key> (Required)

Enter the specific key name of the response header.

Output Value

Argument
Description

<Dynamic Variable> (Required)

This dynamic variable it holds the header or value.

<Dynamic Variable> (Optional)

This dynamic variable holds the execution status as True or False.

Example

Retrieves a Specific Response Header from a Web Service

The Get header action takes the value from the Input Value column (e.g., Content-Type) and fetches the corresponding header from the response of the executed WebService request. The retrieved value is stored in the {HeaderValue} variable as application/json.

Last updated

Was this helpful?