Hi,
I tried
static function OnBeforeRequest(oSession: Session) {
var arr: Byte[] = oSession.requestBodyBytes;
var istr: String = '';
istr = Convert.ToBase64String(arr);
// ... do something with request body ...
oSession.RequestHeaders['Fiddler-Encoding'] = 'base64';
oSession.utilSetRequestBody(istr);
}
base on this article. Unfortunately this does not work. Any help appreciated.
Elaborate more on what's not working - is your conversion to base64 successful in the first place (it might fail for reasons like a large file, unknown or wrongly formatted input, etc.)?
Setting the request body does not work. It's not a large file (it's a MAPI/HTTP conversation).