httpGetReasonPhrase

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpGetReasonPhrase()

Description

Retrieves the HTTP reason phrase of the latest HTTP response. For instance, "OK", "Not Found", "Unsupported Media Type", and so on.

Parameters

none

Return type

string

The reason phrase extracted from the latest HTTP response

Example

string reasonPh = httpGetReasonPhrase();
print("Last response: " + reasonPh);

See also