convertRequest method
Converts the received Request to a Request which has a body with the
HTTP representation of the original body.
Implementation
@override
Request convertRequest(Request request) => encodeJson(
applyHeader(
request,
contentTypeKey,
jsonHeaders,
override: false,
),
);