$.ajax({ type: "GET", dataType: 'jsonp', data: {id:{"key1":'value1',"key2":'value2'}}, url: 'http://localhost/jsonp/', success: function (data) { alert(data); }, });