WhiteHouse / api-standards

3.08k stars 903 forks source link

Updated HTTP Status Codes #51

Open mikestowe opened 8 years ago

mikestowe commented 8 years ago

Replaced recommendation to use three ambiguous status codes with actual standard status codes as ambiguous status codes or categories can be obtained via the first # in the status code sequence (ie 2xx, 3xx, 4xx, 5xx) and prevents the client from understanding what action is actually taking place (was an item updated or created with a PUT, has the delete been performed, is the item missing or has it been removed, is it a malformed request or do I not have permission to do it, etc).

mikestowe commented 8 years ago

12