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.

Debunking the Myths of RPC & REST

10 pointsby tysontover 12 years ago

1 comment

MichaelGGover 12 years ago
The article mentions that the only "contract" you have with the client is a GET request to a top-level URI, and from there, everything should be described via some sort of hypertext, and the application can go from there.<p>I just don't understand how that's supposed to work in the context of, say, a server application. In a browser, you have a human to make sense of the hypertext and decide what looks worth clicking on, which forms look like you want to fill out.<p>In an API, I already know, by the fact that I'm writing an application, what I want to do. I want to delete this customer, run a garbage compaction on a repository, search for new records. What's the point of "discovering" these URIs via hypermedia?
评论 #4874133 未加载