Guest User

Untitled

a guest
Feb 17th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. public async Task<ResponseData<object>> litewxLogin([FromBody]LiteWxLoginInput input){
  2.  
  3. public override void OnActionExecuted(ActionExecutedContext context)
  4. {
  5. string url = context.HttpContext.Request.Host + context.HttpContext.Request.Path + context.HttpContext.Request.QueryString;
  6. string method = context.HttpContext.Request.Method;
  7.  
  8. var result = context.Result; //This result is empty.
  9.  
  10. //I wanted to read the body's data stream, but it also failed: "Stream is not readable
  11.  
  12.  
  13.  
  14. }
Add Comment
Please, Sign In to add comment