Sets the HTTP status code to be used in the response.
Syntax
Response = HTTP_Services('SetResponseStatus', Code, Phrase)
Returns
N/A
Parameters
| Parameter | Description |
|---|---|
| Code | HTTP status code to set. Required. |
| Phrase | Custom 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.