Securing a simple HTTP-based API with Ring middleware functions | Hacker News Reader