title: .net core mvc filter Stream was not readable
body: <p>I want to record the value of the request and response</p>
  
  <p>my action</p>
  
  <pre><code>public async Task&lt;ResponseData&lt;object&gt;&gt; litewxLogin([FromBody]LiteWxLoginInput input){
  </code></pre>
  
  <p>.....
  }</p>
  
  <p>filter:</p>
  
  <pre><code>  public override void OnActionExecuted(ActionExecutedContext context)
      {
          string url = context.HttpContext.Request.Host + context.HttpContext.Request.Path + context.HttpContext.Request.QueryString;
          string method = context.HttpContext.Request.Method;
  
          var result =  context.Result;  //This result is empty.
  
          //I wanted to read the body's data stream, but it also failed: "Stream is not readable
  
  
  
      }
  </code></pre>
  
  <p><strong>I can't get the stream to Iactionresult and response because the stream is read-only</strong></p>
  
  <p>I sent it through the Bing Dictionary translation, and I hope you can read what I mean.</p>
  
  <p>Thank you so much</p>