Returning HTTP Status Codes: an overview

Why the default status codes (200 on success, 500 on any error) aren't enough, shown by a request for a category that doesn't exist and still gets 200.

Updated

Cheat sheet: Returning HTTP Status Codes: an overview
Category
Spring Boot
Level
Apprentice
Tags
rest-api, Spring Boot