---
title: "httpGetResponseInfo"
canonical: "https://support.appfire.com/space/PSCONF/209879041/httpGetResponseInfo"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | httpGetResponseInfo() | **Package** | http |
> | **Alias** |  | **Pkg Usage** | responseInfo() |

## Description

> Macro (excerpt)
> 
> Retrieves the complete response information (if existing) from the latest HTTP routine call.

Retrieves the complete response information (if existing) from the latest HTTP routine call.

## Return Type

**[HttpResponseInfo](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)**

## Example

```
...
// do some http routine call
...
HttpResponseInfo respInfo = httpGetResponseInfo();
runnerLog("Http call ended with status: " + respInfo.statusCode);
runnerLog("Http response error message: " + respInfo.errorMessage);
runnerLog("Http response reason phrase: " + respInfo.reasonPhrase);
runnerLog("Class of last http response: " + respInfo.class);
...
```

## See also

> Macro (contentbylabel)