I am using above method & it works well with one parameter in URL.
e.g. Students/getstud/1 where controller/action/parameter format is applied.
Students/getstud/1
if you have just two parameters you can do this:
$.getJSON('/url-you-are-posting-to',data,function(result){ //do something useful with returned result// result.variable-in-result; });