Welcome to KXG App Web API!
$("#send .do").click(function () {
$.ajax({
url: "../api/verify/send?key=" + $("#send .key").val(),
type: "post",
data: {
mobile: $("#send .mobile").val(),
source: $("#send .source").val(),
token: $("#send .token").val()
},
success: function (data) {
console.log(data);
alert(JSON.stringify(data));
}
});
});
mobile: source: token: key:
$("#sendtouser .do").click(function () {
$.ajax({
url: "../api/verify/sendtouser?key=" + $("#sendtouser .key").val(),
type: "post",
data: {
username: $("#sendtouser .username").val(),
source: $("#sendtouser .source").val(),
token: $("#sendtouser .token").val()
},
success: function (data) {
console.log(data);
alert(JSON.stringify(data));
}
});
});
username: source: token: key: