# WSETSTATUS

Updated: 9/28/2020, 10:32:47 PM
Created: 9/28/2020, 10:32:47 PM
Last Updated By: Peter Schellenbach
Read Time: 1 minute(s)

The WSETSTATUS subroutine allows you to modify the response code.

# WSETSTATUS Syntax

CALL WSETSTATUS(CODE)
1

# Syntax Elements

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

# WSETSTATUS Example

CALL WSETSTATUS(405); * Method not allowed
1

# WSETSTATUS Notes

See link for list of codes