Code AnalysisIntermediate 45s
Express error handling
What status for validation?
Starter code
app.post("/users", (req, res) => {
const { error } = validate(req.body);
if (error) return res.status(400).json({ error });
});Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.