How to write a bad rest api | Dark Hacker News