title: How can i edit a HTTP a request C# using fiddlercore
body: <p>What I want to be able to do: Edit HTTP Requests before they are sent off to the server</p>
  
  <p>User navigates to a webpage of their choice in their browser > They encounter a request they wish to edit > they edit the request and then that gets sent to the server instead of the original one.</p>
  
  <p>What I have done so far: I have captured the request, now I need help finding the code to edit it. Here is my code for capturing the request so far:</p>
  
  <pre><code>    Fiddler.FiddlerApplication.BeforeRequest += sess =&gt;
      {
          //Code to detect user specified URL here
      }
  </code></pre>
  
  <p>Is it possible for me to edit the request before it is actually sent? If it can be done using the FiddlerCore API only then I'd be grateful, although I am willing to download more binaries if required.</p>
  
  <p>Additional notes: I have tried streamwriters, binary writers, copy the respose into a memory stream edit it then copy it back, none of those methods work for me. Also when I try some methods my app just hangs and doesn't respond to things like pressing the X.</p>
  
  <p>Maybe I'm just bad at explaining what I'm trying to achieve seems the only good answer I have has been about reponses :/</p>
  
  <p>If the request reads the string "hello world" then I'd like the user to be able to change the REQUEST to say "hello there"</p>