# WSETSTATUS

Updated: 4/3/2020, 10:08:01 PM
Created: 4/3/2020, 10:08:01 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)

Created At: 6/27/2017 7:40:40 PM
Updated At: 11/23/2017 2:12:43 AM
Original Doc: wsetstatus
Original ID: 261436
Internal: No

The WSETSTATUS subroutine allows you to modify the response code.

# COMMAND SYNTAX

CALL WSETSTATUS(CODE)
1

# SYNTAX ELEMENTS

Parameter Description
CODE Set to the response code you wish to return.  Default is 200 (Success)

EXAMPLE

CALL WSETSTATUS(405); * Method not allowed
1

NOTES

See link for list of codes