Welcome to KXG App Web API!

            
    $("#init .do").click(function () {
        var username = $("#init .username").val();
        var token = $("#init .token").val();
        var key = $("#init .key").val();
        $.ajax({
            url: "../api/doctor/init?username=" + username + "&token=" + token + "&key=" + key,
            type: "get",
            success: function (data) {
                console.log(data);
                alert(JSON.stringify(data));
            }
        });
    });
        

username: token: key:

            
    $("#send .do").click(function () {
        var key = $("#send .key").val();
        $.ajax({
            url: "../api/doctor/send?key=" + key,
            type: "post",
            data: {
                username: $("#send .username").val(),
                content: $("#send .content").val(),
                token: $("#send .token").val()
            },
            success: function (data) {
                console.log(data);
                alert(JSON.stringify(data));
            }
        });
    });
        

username: content: token: key:

select image: sendimagejson: