async function onload(){
let data = {data1: ‘x’, data2: ‘x’};
const response = await fetch(“https://robinschapendonk.ml/info”, {
method: “POST”,
headers: {‘Content-Type’: ‘application/json’},
body: JSON.stringify(data)
});
const responseJson = await response.json();
}
This function is in https://robinschapendonk.ml and it must post some info on https://robinschapendonk.ml/info