add an endpoint

adds an end point to /foo