js json
def uid_chk_url():
request_time = time.time()
print(request)
print(request.json)
print('270')
print('270', request.get_data())
$.ajax({
url: url,
method: "POST",
//data: JSON.stringify('{"uid":"' + term + '"}'),
data: {uid: term}.toJSONString(),
//data: {uid: term},
//dataType: "application/json"
dataType: "json",
//contentType: "text/plain",
}).done(function (msg) {
// $("#log").html(msg);
alert(123)
}).fail(function (msg) {
alert(456)
});