Hi, I am trying to send back a status code of 409 signal the sender to indicate that they are trying to post a duplicate value. Even when I hard code the status value it is still returning back a status of 200. I am running Ignition 8.1.31.
def doPost(request, session):
return {'status': 409, 'json': {'error': 'Duplicate Serial Number'}}