An HTTP response code is a three-digit result describing an HTTP request. ASP.NET Core minimal APIs return 200 (OK) by default, but endpoints can select more appropriate outcomes such as 404 (Not Found). section 3.1.2
ASP.NET Core response selection commonly uses:
- ActionResult concepts, inherited from MVC actions, for representing different response types. section 3.1.2
- Results.Content for successful text output and Results.NotFound for an invalid optional font. section 3.1.2










