Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Syntax

Code Block
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.