REST コンソール (chrome プラグイン) を使用してパラメーター 'foo' を送信する方法を知りたいです。彼は JSON として送信する必要があります。
引用符
public class ComandaEletronicaWSController : Controller
{
[HttpPost]
public JsonResult ComandaServlet(Foo foo)
{
var action = Request.QueryString["Action"];
return Json(new { Ok = true });
}
}
public class Foo
{
public int bar { get; set; }
public int beer { get; set; }
}