Tag: validation
-
Good validation error messages makes API consumers happy
Good validation error messages make API consumers happy All input to an API must be validated to avoid unintended or disallowed use. Invalid input should return a status code in the 4XX range (e.g 400, 403 or 409). But this is not enough. When I as an API consumer receive 400 (Bad request) I am…
