test
continuous-integration/drone/push Build is failing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent c2c347868f
commit 649dd95ab8

@ -3,10 +3,11 @@
xhr.open('POST', 'http://82.165.180.114/Scripted/index.php?action=getPlayersPseudo', true);
xhr.responseType = 'text';
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
var playersPseudo = xhr.onload = function () {
xhr.onload = function () {
console.log(xhr.responseText);
return JSON.parse(xhr.responseText);
JSON.parse(xhr.responseText);
}
playersPseudo = xhr.responseText
console.log(playersPseudo);
xhr.send(null);

Loading…
Cancel
Save