I want to use consul-http-api over the service mesh way. I am new to consul-connect-service mesh, so i started with this tutorial. Communication between static-server and client works, intentions also. But how can i access the consul-http-api this way, for example the kv?
On the static-client i expect to call
curl http://localhost:8500/v1/kv/foo/bar (if i use the upstream annoation syntax)
but this does not work.
I can connect via
curl http://consul-server.consul:8500/v1/kv/foo/bar or over
But i thought i can access the http-api directly.