# WSETSTATUS

Updated: 10/14/2021, 2:20:00 PM
Created: 10/14/2021, 2:20:00 PM
Last Updated By: mikes
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 (opens new window) for list of codes