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.

Ask HN: For a greenfield API which would you use: REST, GraphQL, other? Why?

3 pointsby _isusover 8 years ago
* This would be assuming current technologies (or those that are likely to be usable in production in the next 3 to 6 months). * Want to be usable by a wide range of clients that may be outside of the control of the API creator. * Normal caveats about security, maintainability, etc. * Assume a Web API.<p>Edit: added assumption about Web API.

1 comment

dozzieover 8 years ago
Depends on what does it need to do, but you most probably will need a regular RPC instead of trivial CRUD (REST) or mostly data query (GraphQL). Though RPC is not fancy nor sexy, so most web developers this days won&#x27;t even look at that.
评论 #13017970 未加载