HttpResponseGetHeader

This TurboIntegrator function returns a specified response header of the previously executed HTTP request.

This function is valid only in TurboIntegrator processes and only on TM1 Database 12.

See ExecuteHttpRequest for more information on executing HTTP requests in a process.

Syntax

HttpResponseGetHeader(header);

Argument

Description

header The name of the response header for which you want to retrieve a value.

Example

# Get the value of the Location header which usually contains a resource URL
resource_url = HttpResponseGetHeader('Location');