Ecwid / consul-api

Java client for Consul HTTP API
Apache License 2.0
416 stars 177 forks source link

The error for trying put value in KV store #240

Open nippygalaxy opened 2 years ago

resmo commented 1 year ago

need more info about your issue but I had an issue with having a key starting with /

does not work:

ConsulClient consulClient = new ConsulClient("127.0.0.1");
consulClient.setKVValue("/my/key, value);

works:

ConsulClient consulClient = new ConsulClient("127.0.0.1");
consulClient.setKVValue("my/key, value);