I want to know how to send the parameter 'foo' using the REST Console (chrome pluggin). He should be sent as JSON.
Blockquote
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; }
}