DEV Community

Discussion on: .NET 6 - Minimal APIs

Collapse
 
joedotnot profile image
joedotnot

Do you (or anyone else) know how to return a specific Http Error code (For example, 422 or 418) from a minimal API, and capture it client-side with any client library?