tseisel
baseUrl
httpClient.get("endpoint")
<https://foo.host.com/api/v1/endpoint>
Evan R.
russhwolf
DefaultRequest
httpClient.get { url { encodedPath = "endpoint" } }
val client = HttpClient(OkHttp) { defaultRequest { url { protocol = URLProtocol.HTTPS host = "<http://foo.host.com|foo.host.com>" } } } client.get<HttpResponse>(path = "api/v1/endpoint")
A modern programming language that makes developers happier.