2xx Success Codes

Back to Status Codes

200 OK (general success), 201 Created (resource created, includes Location header), 202 Accepted (request accepted for async processing), 204 No Content (success with no body, common for DELETE). Choosing the right 2xx code communicates intent clearly to API consumers.

networking http