Which HTTP status code generally indicates a successful request?

Answer

201

Explanation

201 Created is commonly returned when a request successfully results in a resource being created. 404 means not found, 500 indicates a server error, and 401 indicates unauthorized access. For simple success without creation, 200 is also common, but 201 is a clear success code for create operations.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list