modified url override example, to use the client3 (the one defining the baseUrl)
This commit is contained in:
parent
0f668a63b9
commit
c477f22f27
|
@ -75,7 +75,8 @@ public class WebClientIntegrationTest {
|
|||
RequestBodySpec bodySpecPostMultipart = uriSpecPost2.uri(uriBuilder -> uriBuilder.pathSegment("resource-multipart")
|
||||
.build());
|
||||
RequestBodySpec fooBodySpecPost = createDefaultPostRequest().uri("/resource-foo");
|
||||
RequestBodySpec bodySpecOverridenBaseUri = createDefaultPostRequest().uri(URI.create("/resource"));
|
||||
RequestBodySpec bodySpecOverridenBaseUri = client3.post()
|
||||
.uri(URI.create("/resource"));
|
||||
|
||||
// request body specifications
|
||||
String bodyValue = "bodyValue";
|
||||
|
|
Loading…
Reference in New Issue