TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why not REST?

6 pointsby motiejusover 10 years ago

1 comment

angersockover 10 years ago
Author makes some decent points, but I&#x27;ll respectfully disagree.<p>For the &quot;increment a thing&quot; case, you could CRUD and create an &quot;interaction request&quot;, which is digested later to later do exactly what was requested. This avoids breaking the REST principle at all--you simply treat the high-level semantic operations as their own objects. Now, whether or not this makes your API and design bloated is a different question; that said, it does fit nicely with REST.<p>Most of their other points have a similar rebuttal: problem is not using REST, but instead using it at the wrong level.