Rest API - HTTP Status Codes
Which of the following is the correct syntax to send a 404 status code in a REST API response?
status(), not code() or statusCode().response.status(404).send('Not Found') is correct syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions