<commit_before>
function restfulGetCall(met, restSuccess) {
    $.get(servicePath + met, function (data) {
        restSuccess(data);
    }).fail(function () {
        msgWarning("Uyarı!", "Bilgiler Alınamıyor...");
    });


}


function restfulPostCall(met, ansdata, restSuccess) {
    $.ajax({
        url: servicePath + met,
        method: 'POST',
        dataType: 'json',
        contentType: "application/json; charset=utf-8",
        data: JSON.stringify(ansdata),
        success: function (data) {
            restSuccess(data);
        }
    });
}
<commit_msg>login2<commit_after>
var servicePath="http://baklava7.de/mapi/Msvc.php";

function restfulGetCall(restSuccess) {
    $.get(servicePath, function (data) {
        restSuccess(data);
    }).fail(function () {
        msgWarning("Uyarı!", "Bilgiler Alınamıyor...");
    });


}


function restfulPostCall(sendData, restSuccess) {
    $.ajax({
        url: servicePath ,
        method: 'POST',
        dataType: 'json',
        contentType: "application/json; charset=utf-8",
        data: JSON.stringify(sendData),
        success: function (data) {
            restSuccess(data);
        }
    });
}

function mobileLogin(email,passwd) {

    var ansdata = {
            'opr': 'login',
            'email': email,
            'passwd': <PASSWORD>
    }

    restfulCall(ansdata, function (data) {

        if (data!='NOK') {
            return data;

        } else {
            return false;
        }
    });
}


{'fraction_non_alphanumeric': 0.14929388029589777, 'fraction_numerical': 0.0026899798251513113, 'mean_word_length': 2.1659574468085108, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1951977', 'n_tokens_mistral': 482, 'n_tokens_neox': 470, 'n_words': 86}