returns 404 on unknown resource