JSON文字列を送信しようとしています
var json = {"city":value1, "country":value2};
$.ajax({
url : url,
data : json,
dataType : 'json',
success : function(response) {
alert(response);
}
})
URL
私が ajax 呼び出しを行う場所で、この文字列値を取得する方法がわかりませんか? 何を使えばいいrequest.getParameter
ですか?パラメータの値は何ですか?