---
title: "httpGetHeader"
canonical: "https://support.appfire.com/space/PSJ/15489009/httpGetHeader"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | httpGetHeader(headerName) | **Package** | http |
| **Alias** |  | **Pkg Usage** | getHeader(headerName) |

## Description

> Macro (excerpt)
> 
> Retrieves the value of the specified header (if existing) from the latest HTTP response.

Retrieves the value of the specified header (if existing) from the latest HTTP response.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| headerName | String | Yes | The name of the reponse header. |

## Return Type

**String**

The value of the response header.

## Example

```
string hdrValue = httpGetHeader("Content-Type");
```

## See also

> Macro (contentbylabel)