parameterize the server endpoint