Let\'s say I want to call some server method and pass it the following JSON object:
var t = { \"test\": 0};
I\'m using jQuery library $.aja
I've end up modifying GetInputStream() method to replace "%Pr" with closing bracket using regex:
public string GetInputStream()
{
string inputContent;
using (var sr = new System.IO.StreamReader(Request.InputStream))
inputContent = sr.ReadToEnd();
inputContent = System.Text.RegularExpressions.Regex.Replace(inputContent, "%Pr$", "}");
return Server.UrlDecode(inputContent.Split('=')[1]);
}
I know it's not solving cause of the problem but at least I'm buying some time to come up with solution :-(