I have a Jitterbit operation that i am trying to debug and as part of this there is a transformation that takes a flat file structure as input and transforms this to a json structure.
This json structure is the input to Http Post operation. I want to print the Http request json body before it executes the request to understand what kind of data is going.
Please suggest a way to get the http body.
I have tried printing the body to operation log using
WriteToOperationLog("Request Body: "+ $jitterbit.api.request.body);
and
WriteToOperationLog("Request Body: "+ $jitterbit.target.http.b);
but it is not printing the http request body
$jitterbit.api.request.body captures the body of an API request sent TO your operation, not what you would be sending outbound. I would suggest two things: