24
Why do so many JSON API conventions put a success flag in the body when HTTP already has status codes?
Reading around for a standard response shape, the recurring recommendation is an envelope containing a boolean success field, then either data or an error object. This seems redundant. HTTP already carries that…