# GetHTTPStatusCode

## Description

Returns the status code that was returned from the server in the response. You must wait for GetHTTPResponseReady to return a non-zero value before checking this command, otherwise it will return 0. Usually the status code is equal to 200 when the request was successful

## Definition

integer GetHTTPStatusCode( iHTTP )

int agk::GetHTTPStatusCode( UINT iHTTP )

## Parameters

- iHTTP - The ID of the connection to check.