I am struggling to understand what you are asking, so I will try to try. :)
If you just want to send no value, just set the data to null
$.get('/Controller/Action/', null, function(data) {});
If you want to have one null action parameter, then simply exclude it from the data array.
For example, for this action:
[HttpGet]
public JsonResult Foo(string bar, string foo)
{
}
bar, foo, jquery :
$.get('/Controller/Foo/', { bar: 'It a bingo! }, function(data) {});
, bar , foo .
: JSON Hijacking, ASP.NET MVC 2 JSON POST, GET.
: http://haacked.com/archive/2009/06/25/json-hijacking.aspx
, [HttpPost] jQuery :
$.post('/Controller/Foo/', { bar: 'It a bingo! }, function(data) {});
, .
/- . { model: null } { model: undefined }. , , "null" "null", undefined null.