Could be more generic: it responds to any sort of http request