Hi, we want to log request and response size for further analysis. Already studied this post to get some hint.
context.Request.Body.Length in the policy to get the number.
After comparing the policy logged value, APIM built-in value and Postman, we find the numbers from policy seems incorrect.
( yellow values are from policy )
Not sure why this happens, or we use wrong property ?
Need your advice, thank you