Skip to content

Commit

Permalink
minor fixes for HttpRequest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
esselesse authored Sep 27, 2023
1 parent 542ae91 commit 2eb20b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unirest/src/main/java/kong/unirest/core/HttpRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public interface HttpRequest<R extends 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
*
Expand All @@ -56,7 +56,7 @@ public interface HttpRequest<R extends 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
*
Expand Down

0 comments on commit 2eb20b2

Please sign in to comment.