function FindCard(){
axios.get('/treking.php', {
params: {
key: 3636614,
iin: 910131451122
}
})
.then(function (response) {
return response;
})
.catch(function (error) {
console.log(error);
});
}
axios.get('/treking.php', {
params: {
key: 3636614,
iin: 910131451122
}
})
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
}
function FindCard(callback) {
axios.get('/treking.php', {
params: {
key: 3636614,
iin: 910131451122
}
})
.then(function (response) {
callback(response);
})
.catch(function (error) {
console.log(error);
});
}
async function FindCard() {
try {
var response = await axios.get(...)
} catch (error) {
console.log(error)
}
}
function FindCard(callback) {
axios.get('/treking.php', {
params: {
key: 3636614,
iin: 910131451122
}
}).asCallback(callback)
}
FindCard((err, card) => {
//
});
function FindCard() {
return axios.get('/treking.php', {
params: {
key: 3636614,
iin: 910131451122
}
});
}
FindCard().then(card => {
}).catch(err => {
})