Set the response status code

response.statusCode = 200
Copy the code

Setting the response header

response.setHeader('Content-Type', 'text/html; charset=utf-8')Copy the code

Set the response body write to be added repeatedly

Response. Write (` content `)Copy the code