Node.js mengembalikan json
server.get('/', (req, res) => {
const user = { name: 'Hero', isLearning: true, level: 'apprentice' };
return res.json(user);
})
Mysterious Monkey