As pointed out by @eikaramba, Express 4 now uses a syntax such as: ``` javascript res.status(200).send('My Page'); res.status(201).json({token: token}); ``` This should be implemented in the server code and endpoint template.