I am building a simple backend with vanilla PHP. I created a special function that takes a status code, sets all the required headers and sends a response to the client. If