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.

Reqr.es

106 pointsby mefover 10 years ago

6 comments

basicallydanover 10 years ago
This is a really nice approach to the problem of getting fake data. For the lazy, it responds with your request data if you have any. Super useful if you just want to get parsing with a real response.<p>I&#x27;d like to point out though, as I always do when things like this, I&#x27;m in the maintainer of a similar project which isn&#x27;t hosted but is an open source node project: <a href="http://github.com/basicallydan/interfake" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;basicallydan&#x2F;interfake</a> - if you wanna do a similar thing but make responses more explicit. About the same amount of work up front, but you don&#x27;t specify responses in requests.<p>Anyway, nice one Ben!
评论 #8583436 未加载
评论 #8582903 未加载
livorasover 10 years ago
This is a good idea. But I prefer to building a local mock server for my client-side ajax support. There so many tools you can use so it&#x27;s not a complicated task. Usually, I use Grunt to build a local server to response mock data to requests.
cpachover 10 years ago
Can someone please explain why this is useful? (Just curious. I’m sure it is useful, I just can&#x27;t see how ^^)
评论 #8585206 未加载
评论 #8584787 未加载
simonmalesover 10 years ago
For people learning to develop with client side frameworks having a real data source is very helpful.
rip747over 10 years ago
am i missing something? i can&#x27;t find where it tells how to craft the response.
评论 #8584778 未加载
ameliusover 10 years ago
Does it have websocket support?