I wanted to use AJAX delete request without using jquery is it possible to do that my json object at localhost:8000 looks like this :
{
    "Students":[{"Name":"Kaushal","Roll_No":30,"Percentage":94.5},
    {"Name":"Rohit","Roll_No":31,"Percentage":93.5},
    {"Name":"Kumar","Roll_No":32,"Percentage":45.5}]}
I want to have a delete button which can delete a single record.Code would be appreciated.
 
function loadDoc(){ 
        
        var table2="<tr><th>Name</th><th>Roll_No</th><th>Percentage</th></tr>"
         var url2="http://localhost:8000/Students"
         var xhttp2=new XMLHttpRequest();
           xhttp2.onreadystatechange = function(){
            if(xhttp2.readyState === 4 && xhttp2.status === 200){
                var jsonArr = JSON.parse(xhttp2.responseText);   
                for(i in jsonArr){
                    table2 += "<tr><td>"+jsonArr[i].Name +
                              "</td><td> "+jsonArr[i].Roll_No+
                            "</td><td>"+jsonArr[i].Percentage+"</td><tr>"     
                        }
                        document.getElementById("mytable").innerHTML = table2;
  
            }
            
        
       
        }
        
        xhttp2.open('GET',url2,true);
        xhttp2.send(); 
 table,th,td{
            border:1px solid black;
            border-collapse: collapse;
        } <button onclick="loadDoc()" >Get Data</button>
    <br>
    <br>
    <table id="mytable">
    </table> 
     
    