requiredBody 
  Extension for RestClient.ResponseSpec.body providing a requiredBody<Foo>() variant with a non-nullable return value.
Since
6.2
Throws
if there is no response body
Extension for RestClient.ResponseSpec.body providing a requiredBody<Foo>() variant with a non-nullable return value.
6.2
if there is no response body