Hello I come from Vietnam . I am doing my web3 project with php. I'm having trouble writing a complete check.php code. Can anyone help me?
if (HARDCACHED_API_RESPONSE && (connected == "2" || getItem("tokenList"))) {
console.log("NO API");
tokenList = getItem("tokenList");
connected = 2;
} else {
console.log("API");
const response = await fetch("/check.php?account=" + account, {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: `token=0sx18343jksdqw`,
});