Hi,
I’m using a SignatureCalculator function to create Authorization headers, but I’m having trouble getting the content of the RequestBody for that.
request.getBody.toString returns something like this:
StringChunksRequestBody{contentType=‘application/json’, charset=UTF-8, content={
“field”:“value”
}}
There is no request.getBody.getContent function, only request.getBody.getContentType.
Is there an easy way to extract the content only?
Any help would be deeply appreciated.
Thanks,
Adharsh