Use $_SERVER['REQUEST_METHOD'] and $_SERVER['REQUEST_URI']to handle your routing | Hacker News Reader