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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | httpGetResponseInfo() | **Package** | http |
| **Alias** |  | **Pkg Usage** | responseInfo() |

## Description

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

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

## Return Type

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

## Example

```
...
// do some http function 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)