Hello guys!
I need a help, I have made point system. It works good, but when it comes to viewer's name contains Unicode character, it returns "Error Connecting To Remote Server".
here is my command : $(urlfetch json http://xxxxxxxxxxx/points?id=$(userid)&name=$(user))
and here is my code in my backend 🙂
app.get('/points', async (req, res) => {let userId = req.query.id;let userName = req.query.name.toString();//console.log(userName);const rndCoins = await updateData(userId, userName);const userDetails0 = await getUserPoints(userId);const numinString = intToString(userDetails.points);res.send("Congrats!! 😁 " + userName + " you got +" + rndPoints + " points😳 Your total points are " + numinString );}});
Please help me.