Scoped GlideServletResponse - setStatus(Number status)

Sets the status code for the response.

Table 1. Parameters
Name Type Description
status Number The status to be set.
Table 2. Returns
Type Description
void
// set the status to okay
g_response.setStatus(200);

Output: