I’m trying to make a GET request. But I’m getting an error. This only happens on android 9.0. What’s wrong?
This is my request:
app.request({
url: url,
method: 'GET',
data: {"phone":phone},
contentType: 'text/plain',
timeout: 5000,
success: function (data, status, xhr){
},
error: function (xhr, status){
},
complete: function (xhr, status){
app.dialog.alert("response text: "+xhr.responseText+" response code: "+status);
}
});
It is result: