This is not the same question which how to get request body,
I tried my best but failed,
I have to give up the spring cloud gateway and replace it with kong.

the real body data is a json string.
In the same directory is a similar filter to modify the response.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
I have to use kong to instead of spring cloud gateway...
In the same directory is a similar filter to modify the response.
I tried the method you recommended.
The data obtained is not what I expected.
I don't know where I got it wrong?
we found a solution.
Use GZIPInputStream to decode the stream.
@weichaojie
Could you give an example how you get response body with GZIP?
Can you please post the solution?
Most helpful comment
@weichaojie
Could you give an example how you get response body with GZIP?