How to write a bad rest api | Hacker News Reader