Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client
- .get()
- .uri("/people/{id}", "a4f66fe5-7c1b-4bcf-89b4-93d8fcbc52a4")
- .accept(APPLICATION_JSON)
- .exchange()
- .flatMap(response -> response.bodyToMono(Person.class))
- .subscribe(person -> System.out.println("GET: " + person));
Add Comment
Please, Sign In to add comment