Tag: 响应头

我怎样才能发回响应头与Node.js / Express?

我使用res.send ,无论如何,它返回200的状态。我想要设置为不同的数字为不同的响应(错误等) 这是使用express