Sets the HTTP status code to be used in the response.

Syntax

Response = HTTP_Services('SetResponseStatus', Code, Phrase)

Returns

N/A

Parameters

ParameterDescription
CodeHTTP status code to set. Required.
PhraseCustom phrase to send with the status code. Optional.

Remarks

This can be set at any time. If unchanged by other routines this will be the status code used. A standard list of HTTP status codes can be found here.

  • No labels