Can't find body in Session

0 Answers 49 Views
Fiddler Classic
Marmin
Top achievements
Rank 1
Marmin asked on 21 Oct 2024, 03:50 AM

When I try to check the body using the Fiddler Proxy on a particular website, I can find the body value in fiddler session list. But when I try to check body on Fiddler Script, the body value is checked as "".
I checked the session list that the body value is more than 260000 characters, but the Fiddler Script confirms it as 0 characters.

Here is example

This code contained in onBeforeResponse

```

var oBody = System.Text.Encoding.UTF8.GetString(oSession.responseBodyBytes);

```

And here is the url of that particular website.

https://m.cgv.co.kr/


I've using fiddler more than 1 years, but this is the first case of this phenomenon. I'd appreciate it if you could tell me how to do it

 

 

 

Eric
Top achievements
Rank 1
commented on 01 Apr 2025, 08:44 PM

For a task like this, you want to use GetResponseBodyAsString, which will remove compression and chunking and ensure that the right character encoding is used vs. expecting UTF-8.

No answers yet. Maybe you can help?

Tags
Fiddler Classic
Asked by
Marmin
Top achievements
Rank 1
Share this question
or