Micronaut HTTP Client - just the response body
In a previous post, we used io.micronaut.http.client.BlockingHttpClient to get response from an HTTP endpoint. We used the exchange method as follows. HttpResponse response = client.toBlocking().exchange("/greeting", String) If you are using Java instead of Groovy, you will pass "String.class" instead of "String".We had…