i'm facing a problem with a request flutter in internal cluster kube.
in my container flutter web, i try to call an api with this endpoint my-service.my-namespace.cluster.local/routes/test
But whene i do my request the code below does auto-format the url this way : http://my-service.my-namespace.cluster.local/routes/test
or ://my-service.my-namespace.cluster.local/routes/test
var response = await http.post(
request.url,
headers: header,
body: request.body,
);
container nginx with default config.
my goal is to call clusters internally , calls works well in external .
any solution would be appreciated .
question from:
https://stackoverflow.com/questions/65918898/i-want-to-send-a-request-from-my-web-app-to-an-internal-k8s-cluster 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…