# WSETSTATUS
Updated: 2/24/2021, 3:51:59 PM
Created: 2/24/2021, 3:51:59 PM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)
The WSETSTATUS subroutine allows you to modify the response code.
# Command Syntax
CALL WSETSTATUS(STATUSCODE)
1
# Syntax Elements
The WSETSTATUS subroutine expects a numeric response code. No validation is performed on the status code. The default code is a 200 (Success).
# Example
CALL WSETSTATUS(405);*Method not allowed
1
# Notes
See link for list of valid codes