Practice Test Geeks home

Node.js Express.js & REST APIs 3

What does res.status(404).json({ error: 'Not found' }) do differently than res.json({ error: 'Not found' })?

Select your answer