in case you want to get any json string (not typed) , you can try the next code snippets
[HttpPost]
public ActionResult Bot(string request)
{
Request.InputStream.Position = 0;
var input = new StreamReader(Request.InputStream).ReadToEnd();
JObject json = JObject.Parse(input);
...........
}
No comments:
Post a Comment