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.

Show HN: Web analytics with API only approach

33 pointsby petrohiover 13 years ago

1 comment

pwimover 13 years ago
Your API is pretty strange. Some initial things that pop out on me:<p>json=true to specify the content type. Ideally, this should be from the accept header, but at the very least it should be possible to only specify one content type. Right now, I can specify json=true&#38;xml=true.<p>Only using GET.<p>Session management on the client. Why would I want to log someone out?<p>Not using meaningful keys. s and t? Why not status and token?<p>HTTP codes should be used instead of status codes.
评论 #3611319 未加载
评论 #3611320 未加载
评论 #3611364 未加载