C# HttpContext request internal Kubernetes URLs

4/4/2019

When I try to send requests to internal Kubernetes services I get:

Invalid URI: The format of the URI could not be determined.

because the URL is not a standard example.com URL. How can I use HttpClient to successfully send these requests?

-- Andrei
.net
.net-core
c#
kubernetes
reverse-proxy

1 Answer

4/4/2019

I just needed to add http(s):// to the URL

-- Andrei
Source: StackOverflow