title: How to trace outgoing httpwebrequest
body: <p>I'm sending an HttpWebRequest to a remote server. The remote server is rejecting my request.</p>
  
  <p>How can I capture the raw format of my outgoing request without using wireshark or something like that?</p>
  
  <p>I tried adding Trace="true" TraceMode="SortByTime" to the aspx page, but this appears to capture only incoming requests.</p>
  
  <p>I tried to enable tracing <a href="https://stackoverflow.com/questions/3900381/get-request-text">as per this post</a>, but it doesn't seem to generate a log file anywhere.  Would network.log be in the root of the site?  It's not there and I've searched my computer / the website for it.</p>
  
  <p>Thank you in advance</p>