title: How to get Token from DotNetOpenAuth OAuthAuthorizationServer sample with C#?
body: <p>How to get Token from DotNetOpenAuth OAuthAuthorizationServer sample with C#?
  I'm running the sample provided in Github.
  I want to get the token, for now unsuccessfull. Always get a 400, bad request.
  The request I've sending is as follows:</p>
  
  <pre><code>var request = WebRequest.CreateHttp("http://localhost:50172/OAuth/Token");
          request.Method = "POST";
          request.ContentLength = 0;
          request.Headers.Add("client_id", "sampleconsumer");
          request.Headers.Add("client_secret", "samplesecret");
          request.Headers.Add("grant_type", "authorization_code");
          request.Headers.Add("code", "teste");
          request.Headers.Add("redirect_uri", "");
  
          WebResponse response = null;
  
          try
          {
              response = request.GetResponse();
          }
          catch (Exception ex)
          {
              //400 -  bad request here.
          }
  </code></pre>
  
  <p>I have no skills with OAuth, this is my first attempt. I've searched a lot but still a bit confuse.</p>