return http status code and message from nodejs code example Example: node js response header response.setHeader("Content-Type", "text/html");