public IEnumerable <string> Get() { ConsulHttpClient client = new ConsulHttpClient(); string value = client.DoGet(serviceName, "api/Health"); return(new string[] { value }); }
public string Call_A() { string result = _consulHttpClient.DoGet(serviceName: "consul-a", requestUrl: "api/A"); return($"Call_A result -> {result}"); }