send(code, payload)
Params: - code: Number - payload: Object (JSON)
Number
Object
Send the response back by transferring a status code and the free JSON data.
res.send(200, { foo: { bar: "baz" } })
← Request Object Workflow →