Api responses have the event.getResponse().setStatus( 404 ) which will set the status and the status text based on the code.
SetStatusCode( 403 ) just does the code but not the text.
I think don’t recall if event has a status code method. I think we usually return 200s unless we need to do something different and drop down.
Browsers like 200s… but apis we use them all the time