@anonymous With your help last time (about 1 day ago), it's kinda of working but how would I pass the "data" the mobile number to the xhttp post request?
var xhttp = new XMLHttpRequest();
xhttp.open("POST", "https://app.domain.co/demo/send", true);
xhttp.send('WHAT DO I PASS HERE');
xhttp.send(this.value);