Closed bitsal closed 5 years ago
Workaround:
RestClient client = RestClient.builder().build();
client.get(<url>).asObject(Map)
and POST requests
client.post(<url>).body(<body>).contentType(<CT>).asObject(Map)
Fixed in 0beefe580e0000b6508dc0a507e3914c6036538c as part of 1.7.0
Version: 1.6.0
I create a client like this:
and when I do a get request like this:
It fails in
ClientRequest:172
withNullPointerException
due to request body is null for get request.request.getBody()
is nullExpected result: Body should be checked on null value.