From 330f665b970fe8c7013e4ca8f4247bf9fe7257ea Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 7 Nov 2026 19:48:05 +0100 Subject: [PATCH] docs: clarify HTTPS requirement for custom base URL in README The builder example comment is updated to note that HTTP is allowed only for loopback hosts. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 540823a..0017869 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ CfDnsClient cfDnsClient = new CfDnsClientBuilder() ```java CfDnsClient cfDnsClient = new CfDnsClientBuilder() .withApiTokenAuth("your-api-token") - .withBaseUrl("https://custom-api.example.com/client/v4") // must use HTTPS + .withBaseUrl("https://custom-api.example.com/client/v4") // HTTPS required; HTTP allowed only for loopback hosts .withConnectTimeout(Duration.ofSeconds(5)) // default: 10 s .withResponseTimeout(Duration.ofSeconds(15)) // default: 30 s .withEmptyResultThrowsException(true) // default: false