Lijst met Ploegen

<script language="javascript>
var data = null;

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://clubapi.prosoccerdata.com/games/team/27");
xhr.setRequestHeader("accept-language", "nl");
xhr.setRequestHeader("x-api-club", " ldrwdgnm36blp0qogvzgjseinoj4ksoq ");
xhr.setRequestHeader("x-api-key", " 2lX6MvrSTp5zbxGj0Qa5unREEpMRf73aDMVU0wdh ");
xhr.setRequestHeader("authorization", " bearer tmku0odhln0f0tgoxg2m36gupywew95owchipldapaqmhiroytxwjdmqdgaxf5jp ");

xhr.send(data);
</script>