Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on I've been abusing HTTP Status Codes in my APIs for years. Parent comment
You can’t ignore the http verbs, so your article doesn’t make sens. You also shouldn’t ignore status codes.
You’ll also might get in trouble with caching.
You can easily use status codes, and provide all the detail + status field in the response. It makes consuming a lot easier
There are no comments on this comment yet.
You can’t ignore the http verbs, so your article doesn’t make sens. You also shouldn’t ignore status codes.
You’ll also might get in trouble with caching.
You can easily use status codes, and provide all the detail + status field in the response. It makes consuming a lot easier