From 2eb20b2a23510b9442015210467c798cf7d072e2 Mon Sep 17 00:00:00 2001 From: Viktor Fridman Date: Wed, 27 Sep 2023 13:48:38 +0300 Subject: [PATCH] minor fixes for HttpRequest.java --- unirest/src/main/java/kong/unirest/core/HttpRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unirest/src/main/java/kong/unirest/core/HttpRequest.java b/unirest/src/main/java/kong/unirest/core/HttpRequest.java index 2e294143..e27cefef 100644 --- a/unirest/src/main/java/kong/unirest/core/HttpRequest.java +++ b/unirest/src/main/java/kong/unirest/core/HttpRequest.java @@ -43,7 +43,7 @@ public interface HttpRequest { /** * add a route param that replaces the matching {name} * For example routeParam("name", "fred") will replace {name} in - * https://localhost/users/{user} + * https://localhost/users/{name} * to * https://localhost/users/fred * @@ -56,7 +56,7 @@ public interface HttpRequest { /** * add a route param map that replaces the matching {name} * For example routeParam(Map.of("name", "fred")) will replace {name} in - * https://localhost/users/{user} + * https://localhost/users/{name} * to * https://localhost/users/fred *