Good API Errors in REST
-
Dec- 2024 -16 DecemberBlog
Creating Good API Errors in REST, GraphQL and gRPC
Dealing with the Happy Path™ in an API is pretty easy: When a client asks for aresource, show them the resource. When they trigger a procedure, let them knowif it was triggered OK, and maybe if it completed without a problem. What to do when something doesn’t go according to plan? Well, that can betricky. HTTP status codes are part of…