title: How to catch request and response data call in Web API?
body: <p>Based on the diagram</p>
  
  <p><img src="https://i.stack.imgur.com/eAF0Y.png" alt="enter image description here"></p>
  
  <p>I want to get the </p>
  
  <ol>
  <li>Get request Data</li>
  <li>Get Elapsed time between request and response call</li>
  <li>Get response data  </li>
  </ol>
  
  <p>I was thinking if I could use <code>BeginRequest</code>, <code>EndRequest</code> under <code>System.Web.HttpApplication</code> inside <code>Global.asax</code>.  </p>
  
  <p>The very reason of this, is that, I want to know if the cause of slow operation is on the server, or just on the client mobile app.</p>
  
  <p>Any suggestion would be appreciated.</p>