I am using node-js restify. While signing a user up server.head('/signup', function (req, res, next)
I generate a custom token.
token = ***
res.set('token', token);
res.send();
I am trying to send the token back but I can't find any documentation on how this is done. How do I send a token in a header response?