title: Google OAuth 2: bad_request error on token request in windows store app
body: <p>I am workin with google auth to access GMail from Windows Store App. I got success authorization code and now i'm trying to exchange it for an access code. I sent POST query as it described in Google Gide for installed apps:<a href="https://developers.google.com/accounts/docs/OAuth2InstalledApp" rel="nofollow">https://developers.google.com/accounts/docs/OAuth2InstalledApp</a>.
   There is my POST query catched by feedler:</p>
  
  <pre><code>POST https://accounts.google.com/o/oauth2/token HTTP/1.1
  Content-Type: application/x-www-form-urlencoded
  Host: accounts.google.com
  Content-Length: 193
  Expect: 100-continue
  Connection: Keep-Alive
  
  code=4/_ynXWYzGSols1p7lzuVBc59iGhgo&amp; client_id={my client_id obtained during application registration}   &amp;     client_secret={ my client secret obtained during application registration encoded by Uri.EscapeDataString()}&amp; redirect_uri={ urn:ietf:wg:oauth:2.0:oobencoded by Uri.EscapeDataString()} &amp; grant_type=authorization_code
  </code></pre>
  
  <p>The server returned "(400) Bad request".
   What is wrong in my request?</p>