I'm using a Http Sniffer to capture http message on my Android phone. Each request the app save two file:
1.File named "rawdata.bin": The raw http response message, contains http response header and http response body.
2.File named "body.json" An JSON file contains the http response body data. This data is humand friendly text.
My problems is: I want to get the JSON data from the file named "rawdata.bin" directly in C#. But it's look like encoded, how do I convert it ?
This is what I tried
I opened the file named "rawdata.bin" with Notepad++ and remove header part (include the blank line between header and body) then save to file named body.hcy
This is my code, but it doesn't work as expected.
This is my raw http response packet file: file[.]io/YdO53cAU26Up