Commit 01cf5244 authored by DK Lee's avatar DK Lee Committed by Stephane Nicoll

Fix typo in WebClient example

Closes gh-14499
parent 6fba477d
...@@ -5616,7 +5616,7 @@ The following code shows a typical example: ...@@ -5616,7 +5616,7 @@ The following code shows a typical example:
} }
public Mono<Details> someRestCall(String name) { public Mono<Details> someRestCall(String name) {
return this.webClient.get().url("/{name}/details", name) return this.webClient.get().uri("/{name}/details", name)
.retrieve().bodyToMono(Details.class); .retrieve().bodyToMono(Details.class);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment