const monsters = [ { type: 'werewolf' }, { type: 'hydra' }, { type: 'chupacabra' } ]; app.get('/monsters', (req, res, next) => { res.send(monsters); });
const monsters = [ { type: 'werewolf' }, { type: 'hydra' }, { type: 'chupacabra' } ]; app.get('/monsters', (req, res, next) => { res.send(monsters); });