$.ajax({
type: "get",
url: url,
dataType: "json",
data: { param1: "xxx", param2: "yyy" },
contentType: "application/json; charset=utf-8",
crossDomain: true,
success: function (data) {
console.log(JSON.stringify(data, null, 4));
},
error: function (textStatus, errorThrown) {
}
});