I need to calculate the hash of my raw HTTP post request and compare it with the signature hash in the header of the same in Java. The problem is, I have tried multiple methods but I am unable to extract the exact POST request sent. Attached is the request:
I need exact same string (along with all the % and other symbols) since even a single space difference would generate an incorrect hash. Can we use custom-filters here, if yes then how exactly?