Permalink
Browse files

Set content-tyoe when send request to auth server.

  • Loading branch information...
unknown unknown
unknown authored and unknown committed Mar 23, 2012
1 parent 5994a6f commit 109b6261dcc92259acdcf4dfb88bb8bb9b37fbd2
Showing with 1 addition and 0 deletions.
  1. +1 −0 Samples/Asp.net/OAuthSample/Callback.aspx.cs
@@ -101,6 +101,7 @@ private static void RequestAccessToken(string postContent, out OAuthToken token,
HttpWebRequest request = WebRequest.Create(oauthUrl) as HttpWebRequest;
request.Method = "POST";
+ request.ContentType = "application/x-www-form-urlencoded;charset=UTF-8";
try
{

0 comments on commit 109b626

Please sign in to comment.